Module 2 Test Flashcards

1
Q

Sandra needs to obtain the latest image of Fedora so that she can install it as a virtual machine on her Windows workstation. Which of the following file formats is Sandra likely to find available for download from Fedora’s website in order to allow her to use the file as the source for booting and installing Linux as a VM?
a. .zip x
b. .tar.gz
c. .iso
d. .tgz

A

c. .iso

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following are true of the echo command?

a. When used to display text, quotation marks are optional.

b. It can be used to display shell variables by including a $ sign in front of the variable name. x

c. Including a semicolon at the end of the line will not affect the text being displayed. x

d. All of the other options are true.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Wayne is using the command line and is in his home directory. Which of the following will display a list of all files and their sizes from his home directory? (Choose two.)
a. ls -ax
b. ls -al ~
c. ls -ax ~
d. ls -al /home/wayne

A

b. ls -al ~
d. ls -al /home/wayne

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Dustin runs a command at the command line trying to find out what kernel version the system is running. However, it doesn’t give him the information he needs. He knows there is an option that can be used to display the kernel version. How can he find out which option to use?
a. ver –help x
b. help version
c. man uname
d. lsproc -? x

A

c. man uname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following would be the correct device for the primary master PATA hard disk?
a. /dev/hda
b. /dev/sda
c. /dev/pataa x
d. /dev/drive0 x

A

a. /dev/hda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following commands can be used to display a calendar for the current month?
a. month
b. date –calendar x
c. cal
d. calendar

A

c. cal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following commands will power off a Linux system after a 10 minute delay?
a. shutdown -t 600
b. shutdown -P 10
c. halt -t 10
d. poweroff –wait 10 x

A

b. shutdown -P 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following key combinations would switch from tty1 to tty3?
a. Ctrl+Shift+F3
b. Alt+Shift+F3
c. Ctrl+Shift+3
d. Ctrl+Alt+F3

A

d. Ctrl+Alt+F3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly