Which of the following commands is used to display the filenames in multiple columns ?
(A) ls
(B) ls -1
(C) ls -x
(D) lc
The octal representation 652 indicates_________________?
(A) Execute permission for the owner
(B) Write permission for others
(C) Read and write permission of groups
(D) All of the above
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
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
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 {} \;
Which of the following commands is used to count the total number of lines, words, and characters contained in a file ?
(A) count p
(B) wc
(C) wcount
(D) countw
The [line number G] key allows you________________?
(A) to move cursor left by one position
(B) to move cursor right by one position
(C) to move cursor down by one line
(D) to move cursor to the beginning of the line specified by the number
Which of the following set options is used with vi editor to ignore case while searching for patterns ?
(A) ic
(B) ai
(C) sm
(D) ts
Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?
(A) who | tee user.lst
(B) who > user.lst
(C) who >> user.lst
(D) who < user.lste