Essential cluster Os Commands class 3
Essential Cluster OS Commands Class 3
SSH ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network Usage ssh [-l login name]hostname user @hostname [command] EXample ssh-l peter tdgrocks sci hkbu. edu. hk ssh peter@tdgrocks sci hkbu. edu. hk
SSH • ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network. • Usage: – ssh [-l login_name] hostname | user@hostname [command] • Example: ssh -l peter tdgrocks.sci.hkbu.edu.hk ssh peter@tdgrocks.sci.hkbu.edu.hk
Common Linux Command Getting Help man [command]-manual pages apropos [keyword-Searches the manual pages for the keyord Directory Movement pwd -current directory path cd-change directory
Common Linux Command • Getting Help – man [command] - manual pages – apropos [keyword] - Searches the manual pages for the keyword • Directory Movement – pwd - current directory path – cd - change directory
Common Linux Command File/Directory Viewing -Is- list cat -display entire file more-page through file less-page forward and backward through file head- view first ten lines of file tail -view last ten lines of file
Common Linux Command • File/Directory Viewing – ls - list – cat - display entire file – more - page through file – less - page forward and backward through file – head - view first ten lines of file – tail - view last ten lines of file
Common Linux Command File/Directory Control cp-copy mv-move/rename rm- remove mkdir-make directory rmdir-remove directory In-create pseudonym(ink) chmod -change permissions touch -update access time (or create blank file
Common Linux Command • File/Directory Control – cp - copy – mv - move/rename – rm - remove – mkdir - make directory – rmdir - remove directory – ln - create pseudonym (link) – chmod - change permissions – touch - update access time (or create blank file)