Which command is used to extract specific columns from the file ?
(A) cat
(B) cut
(C) grep
(D) paste
Which of the following command lists the last 10 lines of a file ?
(A) grep
(B) tail
(C) head
(D) cat
The field separator in cut command is specified with________________?
(A) -a option
(B) -d option
(C) -r option
(D) -x option
Which of the following directories contain all the Alias created by a user, including his login directory ?
(A) /tmp
(B) /etc
(C) /usr
(D) /dev
What TCP/IP protocol is used for transferring electronic mail messages from one machine to another ?
(A) FTP
(B) SNMP
(C) SMTP
(D) RPC
Which command is used to count just the number of characters in a file?
(A) wc – 1
(B) wc -c
(C) wc -w
(D) wc -r
Which command is used to copy all files having the string chap and any two characters after that to the progs directory ?
(A) cp chap?? progs
(B) cp chap* progs
(C) cp chap[12] /progs/*.*
(D) cp chap?? /progs/*
What command is used to set user and group quotas ?
(A) /sbin/usrquota
(B) /sbin/edquota
(C) /sbin/quotaon
(D) /sbin/quota
What command is used to assign executable permission to the owner of the file named “letter” ?
(A) chmod ugo + x letter
(B) chmod u + x letter
(C) chmod u + w letter
(D) chmod g + x letter