Lab 2 Description
In this lab we will test the following commands:
- mkdir
- cp
- mv
- rm
- help
- man
- whatis
- alias
The Alias command is used to create a ‘shortcut’ to a command.
The ‘cp’ command in Linux copies files and directories.
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.
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.
The ‘mkdir’ command in Linux is used to short for “make directory”, mkdir is used to create directories on a file system.
The ‘mv’ command in Linux is used to move or rename files.
The ‘rm’ command in Linux is used to remove files or directories.
The ‘whatis’ command in Linux is used to provide very brief descriptions of command line programs.