This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:c4eng [2019/09/25 20:12] – [Unix/Linux:] mfaucet2 | notes:c4eng [2020/08/09 20:29] – [Unix/Linux:] wedge | ||
---|---|---|---|
Line 10: | Line 10: | ||
* sudo shutdown -h now | * sudo shutdown -h now | ||
* ssh - secure shell to a remote machine | * ssh - secure shell to a remote machine | ||
- | * ssh lab46 | + | * ssh remoteMachine |
+ | * ssh remoteMachine@ipaddress | ||
* mkdir - makes a directory of your choice in current directory | * mkdir - makes a directory of your choice in current directory | ||
* mkdir directoryName | * mkdir directoryName | ||
+ | * rm - deletes argument file | ||
+ | * rm fileName | ||
+ | * rmdir - deletes directory in argument with no files inside it | ||
+ | * rmdir directory name | ||
* touch - makes a file in the current directory with the name of your choice | * touch - makes a file in the current directory with the name of your choice | ||
* touch fileName | * touch fileName | ||
+ | * ls - shows files and directories within current directory | ||
+ | * ls -l -shows files and directories within directory with shielding info | ||
* nano - a text editor | * nano - a text editor | ||
* nano fileName | * nano fileName | ||
* scp - secure copy to or from a remote machine via local host or remote host | * scp - secure copy to or from a remote machine via local host or remote host | ||
* scp fileName user@machine: | * scp fileName user@machine: | ||
+ | |||
====Mercurial: | ====Mercurial: | ||
* fixrepo - repository reset | * fixrepo - repository reset |