21. The command used to remove the directory is;
A. rmdir
B. rd
C. remove
D. rdir
E. None of the above
22. Which symbol will be used with grep command to match the pattern pat at the end of a line?
A. ^pat
B. $pat
C. pat$
D. pat^
E. None of the above
23. Which command is used to display all the lines with the string ‘sales’ from the file empl.lst?
A. cut sales empl.lst
B. /sales > empl.lst
C. grep sales empl.lst
D. cat | /sales > empl.lst
E. None of the above
24. Which of the following commands is not the vi Input mode command?
A. rch
B. R
C. S
D. j
E. None of the above
25. Which of the following commands is used to remove files?
A. erase
B. delete
C. rm
D. dm
E. . None of the above
Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
< PREVIOUS POSTUnix - Section 2
NEXT POST >Linux - Section 1