Update ) Comprehensive
Questions with Answers 100% Correct
{Grade A} – WGU
Which of the following is a valid option for a typical command to get its built-in usage
information?
A.) -?
B.) Help
C.) --manual
D.) --help - correct answer D.) --help
Which of the following is used to redirect the standard output of a command to a file?
A.) 1>
,B.) 2>
C.) &1
D.) &2 - correct answer A.) 1> redirects standard output
What statement is used to get input from the terminal when a shell script is being run?
A.) Input
B.) Scan
C.) Read
D.) In - correct answer C.) Read is used to read in text from input
Which of the following would properly identify the device associated with the second
partition on the first hard disk on the first IDE controller of a system?
A.) /dev/hda2
, B.) /dev/hd1b2
C.) /dev/hdc1d2p2
D.) /dev/hdc1a2 - correct answer A.) /dev/hda2 represents the first controllers first
hard disk, second partition
Which of the following properly identifies the third partition, on the second hard disk,
on the first IDE controller on a PC system?
A.) /dev/hdb3
B.) /dev/hd1b3
C.) /dev/hdc1d2p3
D.) /dev/hdc1a3 - correct answer A.) /dev/hdb3 represents the first controllers second
hard disk, third partition
Which command line can be used to search help files that mention the word 'copy'?