UNIX/Linux Exam 1 S2018
What term describes the physical hardware and the underlying operating system upon which a virtual machine runs?
Virtual host
In Linux, the core component of the GUI is known as:
X Windows
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
[1-4]
To display the contents of a text file called data, what command should be used?
cat data
What two commands below can be used to locate files on a filesystem?
locate and find
Some Linux distributions have the ability to boot an image from install media and run entirely from RAM. What is the name for this kind of image?
live media image
Select below the command and the associated alias available on most Linux systems that displays a long listing for each file in a directory?
ll and ls -l
In order to create a hard link, what command must be used?
ln
What two characters below should not be used in filename?
* and $
What option, when added to the rm command, is commonly referred to as the -resume option?
-R or -r
The mkfs command can be issued with what switch in order to specify a filesystem type?
-t
The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?
/boot
T/F: In Linux, you are restricted to using only one type of filesystem on a system.
False
T/F: A swap partition contains a filesystem.
False
T/F: Each device attached to a system can be represented by multiple device files
False
T/F: In the past, SATA hard disks were referred to as Integrated Drive Electronics (IDE).
False
T/F: On closed-source operating systems, hot fixes for software bugs are deployed very quickly.
False
T/F: When a user interacts with his computer, he interacts directly with the kernel of the computer's operating system.
False
If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature?
Tab
An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a:
Tarball
In what year was the source code for the Linux kernel released?
1991
When using the chmod command, the mode rwx can be represented by which number?
7
What hex code is associated with a Linux swap type partition?
82
Which of the following is the greatest expense for companies using Linux?
Hiring people to maintain the Linux system
The Linux kernel was developed and released in 1991 by:
Linus Torvalds
What two Linux distributions below utilize the Debian package manager by default?
Linux Mint Ubuntu Linux
What two commands below will halt a Linux system immediately?
Shutdown -H now and Halt
The overall cost of using a particular operating system is known as?
Total cost of ownership
T/F: At minimum, Linux typically requires only two partitions to be created: a partition that is mounted to the root directory, and a partition for virtual memory.
True
T/F: Each computer on a network requires a unique way to identify itself and to refer to other computers. This is accomplished by using IP addresses.
True
T/F: Linux uses a logical directory tree to organize files into different folders.
True
T/F: Many programming function libraries and UNIX-like commands appeared in the 1980s as a result of the work on the GNU project.
True
T/F: The database for the locate command can be updated manually by using the updatedb command.
True
T/F: The more command should not be used on binary files.
True
T/F: When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.
True
T/F: You can use wildcard metacharacters with the find command.
True
What command can be used to copy files?
cp
In vi, using command mode, what series of key presses below will cause the line on which the cursor is on to be deleted?
dd
Select the command that can be used to create partitions that will be stored in an MBR after installation:
fdisk
Errors on a filesystem are common on most filesystems. What do these errors indicate?
filesystem corruption
Select the command below that can be used to provide a long listing for each file in a directory:
ls -l
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
mount -a
What command below can be used to create a new physical volume?
pvcreate
After logging into a terminal, a user will receive an interface known as which option below?
shell
What command can be used to display the last five lines of a text file?
tail -5
In order to quickly create an empty file, what command can be used?
touch (filename)
In Fedora 20, what terminal is used for graphical login?
tty1
In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit?
w
Which Linux command can be utilized to display your current login name?
whoami
What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file?
write