851. While working with mail command, which command is used to save mail in a separate file ?
A. s
B. r
C. w
D. d

852. Which command allows you to view your file 24 lines at a time ?
A. more
B. pg
C. cat
D. lp

853. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ?
A. copy programs/wb misc/wbx
B. cp programs/wb misc/wbx
C. tar programs/wb misc/wbx
D. copy a:programs/wb b:misc/wbx

854. What command is used to sort the lines of data in a file in reverse order ?
A. sort – r
B. st
C. sh
D. sort

855. Which of the following commands is used to update access and modification times of a file ?
A. grep
B. wc
C. touch
D. cat

856. After you have compiled your kernel, what do you have to edit to boot your new kernel image ?
A. /boot/lilo.conf
B. /etc/conf.modules
C. /etc/named.boot
D. /etc/lilo.conf

857. Which command is used to terminate a process ?
A. shutdown
B. haltsys
C. cancel
D. kill

858. What command is used with file named ‘letter’ to remove the executable permission from the user and assign read permission to the group and others ?
A. chmod go + x, u – x letter
B. chmod g – x, uo + r letter
C. chmod go + r, u + x letter
D. chmod u – x, go + r letter

859. Which option is used with the chmod command recursively to all files and sub-directories in a directory ?
A. -1
B. -i
C. -x
D. –R

860. Which command is used to display the top of the file ?
A. cat
B. head
C. more
D. grep

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

This Post Has One Comment

Leave a Reply