Use the man command to display the online manual pages of the grep command. How many versions of grep does your system support? Write down the names of these versions. How would you display a brief description of the built-in command set?
What will be an ideal response?
Our system supports three versions of the grep command: grep, egrep, and fgrep (see output of the man grep command below).
$ man grep
GREP(1) GREP(1)
NAME
grep, egrep, fgrep - print lines matching a pattern
SYNOPSIS
grep [options] PATTERN [FILE...]
…
$
You can use the help set command to display a brief description of the built-in command set, as shown in the following session.
$ help set | more
set: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
-a Mark variables which are modified or created for export.
-b Notify of job termination immediately.
-e Exit immediately if a command exits with a non-zero status.
…
$
You might also like to view...
Alice provides ____ basic variable types.
A. four B. six C. eight D. ten
A numeric literal that is assumed to be an integer is called a(n) ____________.
a. real number b. integer literal c. natural literal d. common value
The ____ key on your keyboard is used to increase the size of the eraser.
a. F3 b. F5 c. right bracket ( ] ) d. left bracket ( [ )
Which of the following error codes appears if you leave out a required argument?
A) #REF! B) #NUM! C) #VALUE! D) #N/A