| ~$ |
server name and directories + prompt($) |
~/practice/day1$ |
| pwd |
show current directory |
~$ pwd |
| cd (dir) |
return to home or directory |
~$ cd practice |
| mkdir ~ |
make directory |
~$ mkdir one two three |
| ls ~ |
print out the context in the directory |
~$ ls one two |
| cp (copy) (paste) |
copy items from (copy) and paste it at (paste) |
~$ cp /etc/hosts test.org |
| mv (old) (new) |
change the name of the (old) file into (new) |
~$ mv test.org test.bak |
| rm ~ |
remove/delete the file |
~$ rm test.bak |
| rmdir ~ |
remove/delete the directory |
~$ rmdir test |