Topic 3, GNU and Unix Commands
What command will generate a list of user names from /etc/passwd along with their login shell?
A.
column -s : 1,7 /etc/passwd
B.
chop -c 1,7 /etc/passwd
C.
colrm 1,7 /etc/passwd
D.
cut -d: -f1,7 /etc/passwd
cut -d: -f1,7 /etc/passwd
Which of the following commands moves and resumes in the background the last stopped shell job?
A.
run
B.
bg
C.
fg
D.
back
bg
Which of the following commands is used to change options and positional parameters for a running Bash?
A.
history
B.
set
C.
bashconf
D.
setsh
E.
envsetup
set
What is the output of the following command?
echo "Hello World" | tr -d aieou
A.
Hello World
B.
eoo
C.
Hll Wrld
D.
eoo Hll Wrld
Hll Wrld
Which of the following command sets the Bash variable named TEST with the content
FOO?
A.
set TEST="FOO"
B.
TEST = "FOO"
C.
var TEST="FOO"
D.
TEST="FOO"
TEST="FOO"
Page 16 out of 49 Pages |
Previous |