Unix – Section 1

26. Which command will be used with vi editor to insert text to left of cursor?

A. s
B. S
C. a
D. i
E. None of the above

Correct Answer: D. i

27. In vi editor, forward search is performed using the command.

A. :pat
B. ?pat
C. /pat
D. All of the above
E. None of the above

Correct Answer: C. /pat

28. Which of the following special shell variables is used to process number of the last background job?

A. $!
B. $#
C. $0
D. $*
E. None of the above

Correct Answer: A. $!

29. Which option will be used with ps command to slow the entire command line of the process being run?

A. -4
B. -f
C. -1
D. -2
E. None of the above

Correct Answer: B. -f

30. Which of the following command addresses all users who are currently hooked on?

A. write
B. mail
C. wall
D. mesg
E. None of the above

Correct Answer: C. wall

Leave A Comment?

thirteen + 19 =