Exercise: Unix

Questions for: Unix

Which option will be used with ps command to show the entire command line of the process being run?
A:
-4
B:
-f
C:
-1
D:
-2
Answer: B
No answer description is available. Let's discuss.
Which of the following special shell variables is used to process number of the last background job?
A:
$!
B:
$#
C:
$0
D:
$*
Answer: A
No answer description is available. Let's discuss.
In vi editor, forward search is performed using the command.
A:
:pat
B:
?pat
C:
/pat
D:
All of the above
Answer: C
No answer description is available. Let's discuss.
Which command will be used with vi editor to insert text to left of cursor?
A:
s
B:
S
C:
a
D:
i
Answer: D
No answer description is available. Let's discuss.
Which command is used to display a file contents in octal form?
A:
cd
B:
od
C:
of
D:
oct
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz