pwd
: present working directory, to show current positionls
: list the contents, to show the list of filescd
: change directories, used for going to certain folder/file. e.g. cd ~/desktop/
-> go to desktopcd ..
: go back to the previous directorytouch
: to create a new file: touch tryout.txt
cat(1)
: display the content of the file: cat tryout.txt
cat(2)
: to create a new file: cat > aNewFile.txt
cat(3)
: to concatenate two files: cat tryout1.txt tryout2.txt > tryout3.txt
mkdir
: make a directory: mkdir kk
->then create a folder called kkrmdir
: remove a directory: rmdir kk->then delete the given folder kkrm
: remove a file: rm tryout.txtclear
: clear the current page(not delete, just present a clean page)control+c
: to end a command