"text" to the
string "my text"?
A. :/text/s/my text/g
B. :g/ text /s// my text /g
C. :g/text /s/my text /g
D. :g/text/s/my text/g
Answer: B
24. If in home (/home), what command can be run to determine if the file "plants" is a directory
without
viewing the contents?
A. ls -lad plants
B. ls -fa plants
C. li -la plants
D. li -fa plants
Answer: A
25. What is the correct flag to telnet to a remote machine as a specific user?
A. tn -f
B. tn -d
C. tn -p hostname
D. tn -l user hostname
Answer: D
26. Which of the following is the vi editor command that will delete one word at a time while in
command
mode?
A. cc
B. dd
C. dw
D. rw
Answer: C
27. How can permissions for the chmod command be written?
A. As a hex number
B. In either octal or symbolic notation
C. As strings of "rwx" to picture the layout of the permissions
D. In the first line of a file when it is created, and then interpreted by the shell
Answer: B
28. In a Korn shell which command would be used to set the terminal type to aixterm?
A. env TERM=aixterm
B. set $TERM=aixterm
C. export TERM=aixterm
D. export $TERM=aixterm