841. Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ?
A. find -mtime +365 | rm
B. grep (/usr/*) – mtime + 365 | -ok rm
C. find -name – mtime + 365 / – ok rm
D. find /user/* \(-mtime + 365 – a – atime +365 \) – OK rm {} \;
842. Which command is used to link the files ?
A. lk
B. ln
C. cp
D. tar
843. Which command is used with file named ‘note’ to remove the executable permission from the user and assign read permission to the group and others?
A. chmod u-x, go+r note
B. chmod go+r, u+x note
C. chmod g-x, uo+r note
D. chmod go+x, u-x note
844. Which is the earliest and most widely used shell that came with the UNIX system ?
A. C shell
B. Korn shell
C. Bourne shell
D. Smith shell
845. Which of the following commands is used to display the filenames in multiple columns ?
A. ls
B. ls -1
C. ls -x
D. lc
846. Which of the following commands is used to change the working directory ?
A. cd
B. changedir
C. chdir
D. cdir
847. Which command is used to sort the lines of data in a file in alphabetical order ?
A. sort
B. sh
C. st
D. sort –r
848. Which of the following command addresses all users who are currently hooked on ?
A. write
B. mail
C. wall
D. mesg
849. Which command is used to display the end of the file ?
A. head – r
B. tail
C. eof
D. bof
850. Which command is used to display the characteristics of a process ?
A. pid
B. du
C. ps
D. au
NOTE
IF YOU THINK ANY OF THE MCQ ABOVE IS WRONG.
PLEASE COMMENT WITH CORRECT ANSWER AND ITS DETAIL EXPLANATION IN COMMENT BOX.
THANK YOU