Unix – Section 1

31. Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it

A. -r
B. -x
C. -i
D. -1
E. None of the above

Correct Answer: C. -i
ADVERTISEMENT

32. 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
E. None of the above

Correct Answer: C. /usr
ADVERTISEMENT

33. 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
E. None of the above

Correct Answer: B. ls -t
ADVERTISEMENT

34. The % key allows you

A. to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
B. to move the cursor to the upperleft corner of the screen
C. to move the cursor backward to the beginning of a word
D. to move the cursor to the first column in the current line
E. None of the above

Correct Answer: A. to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
ADVERTISEMENT

35. Which command is used to display the characteristics of a process?

A. pid
B. du
C. ps
D. au
E. None of the above

Correct Answer: C. ps
ADVERTISEMENT
NEXT POST >Unix - Section 2

Leave A Comment?