Linux Foundation Quizzes
Complete the following command to redirect both standard output and a standard error from the bigprog program to the file out.txt. $ __________ bigprog out.txt.
&>
You want to copy a file (origfile.txt) to the backups directory, but if a file called origfile.txt exists in the backups directory, you want to go ahead with the copy only if the file in the source location is newer than the one in backups. The command to do this is cp __________ origfile.txt backups/.
-u or -update
Which of the following extensions is used at the end of the script name?
.sh
Which of the following commands describes all mountable filesystems and their properties?
/etc/fstab
Which of the following directories serves as a mount point for short-term mounting of additional storage media?
/mnt
Which of the following directories stores the process id of a process?
/proc
Which of the following directories stores various executable not needed for booting or repairing the Linux system?
/usr/bin
Which of the following directories contains dynamically changing files, distributed across different directories?
/var
Which of the following directories stores package database information?
/var/lib
The x86 CPU uses a(n) __________ -bit architecture.
32
Which of the following is an example of an embedded Linux OS?
Android
The __________ software package is an example of a web server written for the Linux server environment.
Apache
Which of the following servers is a web server?
Apache
How can you run a program in the background when launching it from a shell? (Select all that apply.)
Append an ampersand (&) to the end of the command line. , Launch the program normally, type Ctrl+Z in the shell, and then type bg in the shell.
Which of the following OSI's principles defines that the license must apply to anybody who receives the program, without needing a separate agreement?
Automatic License Distribution
A(n) __________ computer manages Global Positioning System (GPS) navigation systems, manage collision avoidance, regulate emergency braking, control the audio system, and even provide Internet access to some vehicles.
Automotive
In which of the following languages was most of the Linux kernel written?
C
Which of the following is not a function of the Linux kernel?
Creating menus in GUI programs
An organization devoted to promoting open source-like principles in fields such as video and audio recordings is the __________.
Creative Commons
What keystroke moves the cursor to the start of the line when typing a command in Bash?
Ctrl+A
What command in the GUI brings up a text-mode display that you can use to log in to Linux?
Ctrl+Alt+F2
Which of the following options provides an interface between a hardware device and application software?
Device driver
The __________ standard is a modern video interface that's commonly used on computer monitors.
Digital Visual Interface,DVI
Thunderbird is a(n) __________ program.
Email Client
Which of the following programs is most likely to be installed and regularly used on a desktop computer that runs Linux?
Evolution (Email Reader)
Which philosophy was founded by Richard Stallman in 1985?
FSF
Because their hardware designs are proprietary, hardware vendors cannot release open source drivers for their products.
False
If you log in to a Linux system in graphical mode, you cannot use text-mode commands in that session.
False
Linux documentation in the /usr/share/doc directory tree is almost always in OpenDocument text format.
False
OpenOffice.org forked from Calligra.
False
The Linux kernel is derived from the BSD kernel.
False
UDF is a good filesystem to use for a Linux installation on a hard disk.
False
VMS was a common OS on x86 PCs at the time Linux was created.
False
You can easily damage your Linux installation by mistyping an rm command when you log into your regular account.
False
info pages are a web-based documentation format.
False
Which of the following is a still image manipulation program?
GIMP
Which of the following is a Linux desktop environment?
GNOME
Which of the following are Linux desktop environments? (Select all that apply.)
GNOME, KDE, Xfce
You type mkdir one/two/three and receive an error message that reads, in part, No such file or directory. What can you do to overcome this problem? (Select all that apply.)
Issue three separate mkdir commands: mkdir one, then mkdir one/two, and then mkdir one/two/three. Add the--parents parameter to the mkdir command.
Which of the following is the core part of an operating system?
Kernel
A license created by the FSF and often used for libraries is the __________.
LGPL,Lesser GPL,Lesser General Public License
Which of the following is a collection of programming functions that can be used by a variety of programs?
Libraries
Which open source software includes various packages such as word processor, spreadsheet, graphics, editor, database, and math formula bar?
LibreOffice
Which of the following is an example of the monolithic kernel?
Linux
Which of the following is a notable difference between Linux and Mac OS X?
Linux's GUI is based on the X Window System, whereas OS X's is not.
Which of the following is an example of an embedded computer?
Mobile phone
Linux uses a(n) __________ kernel design, as contrasted with a microkernel design.
Monolithic
Which of the following is a physical arrangement in a computer that contains the computer's basic circuitry and components?
Motherboard
If you want to enable one Linux computer to access files stored on another Linux computer's hard disk, which of the following network protocols is the best choice?
NFS (Network File System)
Which of the following consists of supporting files for an application installed on a Linux computer?
Package
You can install and manage various Linux software applications via a(n) __________ management system.
Package
What type of multitasking does Linux use?
Preemptive
Linux distributions that have no version number but instead release upgrades in an ongoing manner are said to have a(n) __________ release cycle.
Rolling
A Linux server that handles the SMB/CIFS protocol normally runs the __________ software.
Samba
A type of software that's distributed for free but that requires payment on the honor system if a person uses it is called __________.
Shareware
Which is true of Linux distributions as a whole?
Sometimes they may not be copied because of the non-open source software they may contain.
Which of the following is not required in order for software to be certified as open source?
The license must require that changes be distributed under the same license.
Why might you want to partition a hard disk? (Select all that apply.)
To install more than one OS on the disk, To separate filesystem data from swap space
A Linux computer being used as a server generally does not require X.
True
An Intel 64 CPU is capable of running a Linux distribution identified as being for the AMD64 CPU.
True
CentOS is a Linux distribution with a long release cycle.
True
Copyright law governs the distribution of software in most countries.
True
Malicious outsiders can disrupt servers even if the computer that runs them is never broken into.
True
Python is generally implemented as an interpreted language.
True
Some DVRs run Linux.
True
The FSF's free software definition and the OSI's 10 principles of open source software both require that users have the ability to examine a program's workings—that is, its source code.
True
The Linux kernel includes drivers for various disk controllers, network adapters, and USB interfaces, among other things.
True
The find command enables you to locate files based on their sizes.
True
The regular expression Linu[^x].*lds matches the string Linus Torvalds.
True
You can create a symbolic link from one low-level filesystem to another.
True
You can force man to display a man page in a specific section of the manual by preceding the search name with the section number, as in man 5 passwd.
True
You can set a directory's time stamps with the touch command.
True
Which of the following software freedoms is not defined by the FSF?
Use the software for a specific purpose.
Which of the following is a characteristic of all open source software?
Users are permitted to redistribute altered versions of the original software.
Which of the following is a key part of the FSF's philosophy?
Users must have the right to use software as they see fit.
Which of the following devices is not commonly attached via USB?
Video monitors
A common security problem with Windows that's essentially nonexistent on Linux is __________.
Viruses
Prerelease software that's likely to contain bugs is known __________ as __________ and .
alpha and beta
Which command displays a short description of system commands for keywords and displays the result on the standard output?
apropos
Which of the following tools is best suited for installing a software package and all its dependencies on a Debian computer?
apt-get
Users can motivate programmers to work on open source projects by offering a(n) __________ to whomever completes the project first.
bounty
A program written in a(n) __________ programming language is completely converted to binary form before being run.
compiled
The FSF's general principles are summarized by the term __________, which refers to using copyright laws for purposes that are in some ways contrary to copyright's original intent.
copyleft
A computer power supply converts electricity from alternating current to __________.
direct current,DC
A piece of software that "talks" to hardware is known as a(n) __________.
driver
Type logout or __________ to end a text-mode terminal session.
exit
Which of the following commands is used to partition a hard disk?
fdisk
Which of the following commands executes very slowly and displays the full path of a file instead of just a filename?
find
Which of the following commands will you use to find a pattern in a file?
grep
Which of the following commands is an improved version of more?
less
The __________ command searches a database of filenames, enabling you to identify files quickly whose names match a term that you specify.
locate
A Linux text-mode login prompt reads __________.
login:
Which command lists permissions set on the files available in the current directory?
ls -la
Which of the following commands is used to discover the sizes of several dot files in a directory?
ls -la
Which of the following commands provides information about your motherboard's features?
lspci
Which of the following commands would you type to rename newfile.txt to afile.txt?
mv newfile.txt afile.txt
Each document in an info page is known as a(n) __________.
node
Which of the following commands
tar
You've received a tar archive called data79.tar from a colleague, but you want to check the names of the files it contains before extracting them. Which of the following commands would you use to do this?
tar tvf data79.tar
Which command displays the location of a command?
whereis