Midterm Exam
List 3 glob characters:
"?" "[" and "]" "*"
The top-level directory on a Linux system is represented as:
/
Source code refers to:
A human-readable version of computer software
Virtualization means:
A single host can be split up into multiple guests
The tilde (~) is used to represent:
A user's home directory
Creative Commons licenses allow you to:
Allow or disallow commercial use Specify whether or not people may distribute changes Specify whether or not changes must be shared
The most popular Linux platform for mobile phones is:
Android
The most common shell used for Linux distributions is the
Bash
The acronym CLI stands for:
Command Line Interface
The touch command can be used to:
Create new files Update the timestamp of existing files
A maintenance cycle:
Describes how long a version of software will be supported
The release cycle:
Dictates how often software is updated
When choosing a distribution of Linux, you should consider:
Does the distribution offer a "stable" version Does your organization require long-term support for the system If the application software is supported by the distribution Will users require a GUI Will commercial support be required for the OS
A pair of double quotes (" ) will prevent the shell from interpreting any metacharacter.
False
Linux is distributed under which license?
GPLv2
The Linux shell:
Has a scripting language Is customizable Allows you to launch programs
The first character in a long listing (ls -l) indicates:
If something is a file, directory, or symbolic link
The three main modes of tar are:
List Create Extract
What are 2 examples of desktop software?
Music player Web browser
What pieces of software deal with file sharing?
Netatalk Samba NFS
Which environment variable contains a list of directories that is searched for commands to execute?
PATH
What does a distribution provide to add and remove software from the system?
Package Manager
Compression of a file works by:
Removing redundant information
The following sections commonly appear on a man page:
SYNOPSIS NAME DESCRIPTION
In the command tar -czf foo.tar.gz bar, what is the purpose of the f flag?
Tells tar to write to the file that follows the flag
In graphical mode, you can get to a shell by running which applications?
Terminal Xterm
The statement that describes the difference between a man page and an info page is:
The info page is like a guide; a man page is a more concise reference.
The asterisk character is used to represent zero or more of any character in a filename.
True
The main purpose of using glob characters is to be able to provide a list of filenames to a command.
True
The shell program interprets the commands you type into the terminal into instructions that the Linux operating system can execute.
True
Lossy compression:
Usually results better compression than lossless Is often used with images Sacrifices some quality
Open source means:
You can modify the software's source code You can view the software's source code
The cd command by itself will take you to what directory?
Your home directory
What command will allow you to change your current working directory?
cd
A copyleft provision in a software license means:
if you redistribute the software, you must distribute the source to any changes you make
To search the man page sections for the keyword example, which of the following command lines could you execute?
man -k example apropos example
Which two pager commands are used by the man command to control movement within the document?
more less
Which command can be used to rename a file?
mv
Select the command that can report the location of a command:
which
What 3 commands can be used to compress a file?
zip bzip2 gzip