Basic Ubuntu Commands
Basic Ubuntu Commands
Command 1: pwd
This command refers to the present working directory in
which you are operating; in simpler words, in which your
terminal is open. To check PWD, execute the pwd keyword in
your terminal and hit enter; the command of PWD is written
below along with the result of that command.
Command 2: dir
The dir command is used to print (on the terminal) all the
available directories in the present working directory:
Command 3: ls
This command is used to list down all the directories and files
inside the present working directory (or you can give the path
of a specific directory);
Command 5: touch
This Ubuntu command can be used to create a new file as well
one can use it to change the timestamp of any file; the
command given below will create a new text time in pwd:
Command 6: cat
This command is used to show the content of any file:
Command 7: mkdir
The above-mentioned command will make a directory in your
pwd; for example, the following command will make the
directory “new” in pwd.
Command 9: cp
The cp command will help you to copy any file or folder to
any directory.
Command 17:
Command 18: