Lab 2

Lab 2

Commands in Linux

mkdir command-

Used to create a new directory.

mkdir

cp command-

Used to copy files.

cp

mv command-

Used to move or rename files.

mv

rm command-

Used to remove files and directories by deleting them.

rm

help command-

Displays information about a command.

help

man command-

Displays the manual of a command.

man

whatis command-

Displays the file name and a one line description of the task.

whatis

alias command-

Gives a name to a composition of commands.

alias

Leave a Reply

Your email address will not be published. Required fields are marked *