Lab 2

Lab 2 Description:

This lab 2 will teach you command mkdir, cp, mv, rm, help, man, whatis, alias.

Commands:

  • mkdir:

It use to create a new directory.

mkdir

 

  • cp:

It uses to copy files to others location or copy files to files.

Cp

 

  • mv:

it uses to move file to another location, or substitute files.

 

mv

 

  • rm:

it uses to remove a file or directory.

rm

 

  • help:

Display a simple information of a command.

help

 

  • man:

Display a full information and more detailed of “x” command. (“x” means any command.

 

pwd man

 

  • whatis:

Display just a one line description of specification of that command.

 

whatis

 

  • alias:

This command is used to make a shortcut of a command.

 

alias

 

 

Leave a Reply

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