The special shell variable $* is used________________?
(A) to exit status of ast command executed.
(B) to process number of the current shell
(C) to list the positional parameters
(D) to name the command being executed
What command is used to save the standard output in a file, as well as display it on the terminal ?
(A) tee
(B) grep
(C) cat
(D) more
Which command is used to assign only read permission to all three categories of the file ‘note’ ?
(A) chmod go+r note
(B) chmod a-rw
(C) chmod ugo=r note
(D) chmod u+r,g+r,o-x note
The command that can be used to restrict incoming messages to a user is_______________?
(A) mesg
(B) grep
(C) halt
(D) sleep
The second set of the three permissions (r-) indicates that______________?
(A) group has read permission only
(B) other has read permission only
(C) owner has read permission only
(D) group has write permission only
Which of the following commands is used to obtain a list of all files by modification time ?
(A) ls -1
(B) ls -t
(C) ls -i
(D) ls -R