Unix - Study Mode

[#996] Which operator is used in vi to filter text?
Correct Answer

(D) !

[#997] Shell scripts are executed in a separate child shell process.
Correct Answer

(A) True

[#998] Which command will be used for selecting lines 3 to 10 from emp.lst?
Correct Answer

(B) sed -n '3,10p' emp.lst

[#999] What does the following command do? $ echo *
Correct Answer

(D) lists all filenames in the current directory

[#1000] For looping in a list, . . . . . . . . is used.
Correct Answer

(C) foreach