Introduction to Linux

Linux commands:

mkdir - This command is used to create a new directory.

Syntax: mkdir [directory name]

rmdir – This commnd is used to remove a directory.

Syntax: rmdir [directory name]

cat – This command is used to create a file.

Syntax: cat [file name]

rm – This command is used to delete a file.

Syntax: rm [file name]

ls – This command is used to show the list of files.

Syntax: ls

nano – This command is used to edit a file.

Syntax: nano [file name]

cd – This command is used to change the current working directory.

Syntax: cd [directory name]

pwd present working directory – This command is used to display the present working directory.

Syntax: pwd

cd .. – This command is used to move a directory back.

Syntax: cd ..