1 / 16

SYNERGIE-PUMA Linux training

SYNERGIE-PUMA Linux training. SYNERGIE-PUMA Linux training. Linux for SYNERGIE-PUMA administration Introduction to Linux commands Linux system. SYNERGIE-PUMA Linux training. Special characters Directories '.' : Current directory '..' : Parent directory '~' : Home directory

gina
Download Presentation

SYNERGIE-PUMA Linux training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SYNERGIE-PUMALinux training

  2. SYNERGIE-PUMALinux training • Linux for SYNERGIE-PUMA administration • Introduction to Linux commands • Linux system

  3. SYNERGIE-PUMALinux training • Special characters • Directories • '.' : Current directory • '..' : Parent directory • '~' : Home directory • Hidden files • Under Linux hidden files start with '.' (ex : ~/.bashrc) • Wildcards • '?' : Replace a single character • '*' : Replace a string

  4. SYNERGIE-PUMALinux training • Special characters • 'cd' : Change directory • 'pwd' : Print current path • 'ls' : List directory content (ls, ls -l, ls -a, …) • 'mkdir' : Create a directory • 'rmdir' : Remove a directory

  5. SYNERGIE-PUMALinux training • Files • 'cat' : Print file content • 'file' : Give the file type • 'more' / 'less' : Print file content screen by screen • ‘head’ / 'tail' : Print beginning or end of a file • 'touch' : change file timestamp (create an empty file) • 'diff' : Compare 2 files • 'wc' : Word count • 'cp' : Copy a file • 'mv' : Deplace/rename a file • 'rm' : Remove a file (rm -rf : remove recursively a directory) • 'ln' : Create a link (ln -s : create a symbolic link)

  6. SYNERGIE-PUMALinux training • Rights, users and groups • 'chmod' : Change permission • 'chown' : Change the owner • 'chgrp' : Change the group • 'id' : Print the current user • 'su' : Change user

  7. SYNERGIE-PUMALinux training • Process • 'ps' : Display running process (ps -elf) • 'pstree' : Display running process as tree view • 'top' : System monitoring • 'kill' : Send a signal to kill a process

  8. SYNERGIE-PUMALinux training • File searching • 'find' : Search a file in a directory (find . -name 'test' -type f) • 'locate' : Search a file by name • 'which' : locate a command

  9. SYNERGIE-PUMALinux training • Filters • 'grep' : Print lines matching a pattern • 'sort' : Sort lines of text files • 'cut' : remove sections for each line of files

  10. SYNERGIE-PUMALinux training • Compression • 'tar -czvf XYZ.tgz XYZ' : Archive a file as tarball then compress with gzip • 'tar -xzvf XYZ.tgz' : Unpack a gzipped tarball archive • 'gzip XYZ' : compress a file using gzip • 'gunzip XYZ.gz' : uncompress a file using gzip

  11. SYNERGIE-PUMALinux training • Various usefull commands • 'man XYZ' : Display help of XYZ command • 'df' : Display disk usage (df -h) • 'ftp <ftpserver>' : Connect to a ftp server • 'rsh' : Execute a remote command using rsh • 'ssh' : Execute a remote command using ssh • 'scp' : Copy a file from one machine to another one • 'shutdown -h now' : stop the machine • 'reboot' : restart the machine

  12. SYNERGIE-PUMALinux training • Network • '/sbin/ifconfig lo' : print loopback interface • '/sbin/ifconfig eth0' : Ethernet interface • 'route' : Show the IP routing table • 'ping' : ping an ip on the network • 'system-config-network' : Configure network interface

  13. SYNERGIE-PUMALinux training • Services • ‘service XYZ start' : Start service XYZ • ‘service XYZ stop' : Stop service XYZ • ‘service XYZ status' : Get status of service XYZ

  14. SYNERGIE-PUMALinux training • RPM Packages • 'rpm -ivh XYZ.rpm' : Install a package • 'rpm -Uvh XYZ.rpm' : Install or upgrade a package • 'rpm -e XYZ' : Remove a package • 'rpm -V XYZ' : Check integrity of a package • 'rpm -q XYZ.rpm' : Query if a package is installed • 'rpm -qa' : Print all installed package

  15. SYNERGIE-PUMALinux training • Printers • 'system-config-printers' : Configure printers

  16. SYNERGIE-PUMALinux training • Date/time • 'system-config-date' : Configure date and time

More Related