Which symbol will be used with grep command to match the pattern pat at the beginning of a line ?
(A) ^pat
(B) $pat
(C) pat$
(D) pat^
Which command is used to remove the read permission of the file ‘note’ from both the group and others ?
(A) chmod go+r note
(B) chmod go+rw note
(C) chmod go-x note
(D) chmod go-r note
NIS_____________________?
(A) is Network Information Service
(B) is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems
(C) was formerly known as yellow pages
(D) allows configuration-such as password and group files
In what file can you specify which users are not allowed to access a system via FTP ?
(A) /etc/ftpusers
(B) /etc/hosts.deny
(C) /etc/ftpaccess
(D) All of the above
Layer one of the OSI model is_______________________?
(A) network layer
(B) transport layer
(C) physical layer
(D) physical layer
What command is used with vi editor to move back to the beginning of a word ?
(A) w
(B) e
(C) a
(D) b
What command is used to count the total number of lines, words, and characters contained in a file ?
(A) countw
(B) wcount
(C) wc
(D) count p
The cat command is used to_______________?
(A) capture a file
(B) display a file
(C) print a file
(D) copy a file