Professional Documents
Culture Documents
Information
I will use "This signs" " for parting command and text so don't think this signs is
part of command"
1 - #Touch = Command can be used for creating a Blank/Empty file. Also It can
change the time of file or directory.
#Touch file name = For changing the file time stamp.
#Touch .filename.txt = For hiding the file from ls command.
3 - #echo "the text you want to enter in file" > "file name" = This Command can be
used for putting text into a file.
9 - #mv "source file name" "destination file path" define a new name here if you
want to change = For moving a file.
#mv "old name" "new name" = For rename the file.
10 - #cp "source file path" "destination file path" = For copying the file.
#cp -r "source path" "destination path" = For copying a directory.
#-v = For printing what has been done.
#-p = For transferring ownership and time stamp.
Note = You can use three of them together for multiple actions.
14 - #whoami - For finding which user account you are logged in currently.
15 -
Use #Man name of thing/tool" If you want to know the information and use of that
tool/command.
Use #which infroint of command if you want to know the command's path/location from
where it's running.
The /usr in this we can find installed software, shared libraries, include files
and program data.