LAB 2

Instructions:

  • For each of the following commands write a description of what it does and provide a screenshot with an example of its usage:
  1. mkdir
  2. cp
  3. mv
  4. rm
  5. help
  6. man
  7. whatis
  8. alias
  • mkdir

This command is to use create a new directory.

mkdir

  • cp

The cp “copy” command is to use to file or files to another location.

cp

 

  • mv

The mv “move” command is you to move files from one location to another.

mv

 

  • rm

The rm “remove” command is used to remove files or folders”if empty”  or directory.

rm

 

  • help

The help command is mainly used to display a summary about  a command.

help

  • man

The man command is use to give a explanation about any command.

man

  • whatis

The whatis command displays a definition specific commands and what each does.

whatis

  • alias

The alias command is like a shortcut to other commands.

 

alias

Leave a Reply

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