Lab 2

Lab 2 Description

In this lab we will test the following commands:

    1. mkdir
    2. cp
    3. mv
    4. rm
    5. help
    6. man
    7. whatis
    8. alias

alias

The Alias command is used to create a ‘shortcut’ to a command.

cp

The ‘cp’ command in Linux copies files and directories.

help

The help command in Linux is used If you’re not sure how to use a specific command, by  runing the command with the -h or –help switches. It shows usage information and a list of options you can use with the command.

man

The ‘man’ command in Linux is used to format and display the on-line manual pages
manpath – determine user’s search path for man pages.

mkdir

The ‘mkdir’ command in Linux is used to short for “make directory”, mkdir is used to create directories on a file system.

mv

The ‘mv’ command in Linux is used to move or rename files.

rm

The ‘rm’ command in Linux is used to remove files or directories.

whatis

The ‘whatis’ command in Linux is used to provide very brief descriptions of command line programs.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Leave a Reply

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