Match the following commands to the corresponding descriptions.
_____ 1. HI= hello
_____ 2. PS1="Hi: "
_____ 3. ps a
_____ 4. echo $HI
_____ 5. set
_____ 6. kill 9 11237
_____ 7. export
_____ 8. ls | tee xyz
_____ 9. grep hello xyz
_____ 10. unset xyz
_____ 11. G
_____ 12. export xyz
_____ 13. set o vi
_____ 14. 10G
_____ 15. alias D=rm
_____ 16. alias
_____ 17. set -o noclobber
_____ 18. set -o ignoreeof
_____ 19. fc -l
_____ 20. set +o noclobber
a:
removes the specified variable
b: displays the list of the shell variables
c: removes the specified process
d: displays the current directory and saves it in a file
e: finds the string hello in the specified file
f: displays exported variables
g: reassigns the prompt string
h: assigns value to variable HI
i: displays the status of all active processes
j: displays the content of the specified variable
k: makes letter D the alias name for the rm command
l: displays the 10th command from the history file
m: exports the variable called xyz
n: lists commands in the history list
o: shows the last command in the history file
p sets the option to prevent overwriting an existing file
q sets the option to prevent accidental log off when [Ctrl-d] key is used
r turns off the option that prevents overwriting an existing file
s turns on the command line editing option
t lists the name of aliases
1. h: assigns value to variable HI
2. g: reassigns the prompt string
3. i: displays the status of all active processes
4. j: displays the content of the specified variable
5. b: displays the list of the shell variables
6. c: removes the specified process
7. f: displays exported variables
8. d: displays the current directory and saves it in a file
9. e: finds the string hello in the specified file
10. a: removes the specified variable
11. o: shows the last command in the history file
12. m: exports the variable called xyz
13. s: turns on the command line editing option
14. l: displays the 10th command from the history file
15. k: makes letter D the alias name for the rm command
16. t: lists the name of aliases
17. p: sets the option to prevent overwriting an existing file
18. q: sets the option to prevent accidental log off when [Ctrl-d] key is used
19. n: lists commands in the history list
20. r: turns off the option that prevents overwriting an existing file
You might also like to view...
To save an item that you have created as AutoText, click the ________ tab
Fill in the blank(s) with correct word
To test whether a character is a numeric digit character, use the __________ function.
a. isnumber b. notAlpha c. isnumeric d. isdigit e. None of these