Linux Essentials Midterm
Terms in this set (40)
To go to the end of an info page, you press:
To go to the next match of a search on a man page, you press:
When interpreting the SYNOPSIS of a command found on a man page, the "|" means:
The items it separates cannot be used together
After performing a search, you can use the what key to return to a previously found match?
To move a page forward one at a time while viewing a man page, press the following:
The ls command without options or arguments...
Lists the contents of the current directory.
Which option can be used with the rm command to prompt before deleting?
The rm command can delete multiple files at once, true or false?
Which of the following commands can be used to rename a file?
The touch command can be used to:
Update the time stamp of existing files and create new files.
You try to compress a file that is already compressed. Which of the following statements is true?
The file will not be compressed any further than it already was.
Which of the following commands can be used to compress a file?
zip, bzip2, and gzip
The three main modes of tar are:
Extract, List, and Create
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.
Which two commands do the same thing?
tar -c foo | gzip > foo.tar.gz and tar -czf foo.tar.gz foo
Which option for the wc command will print the total number of words in a file?
Which command can be used to print line numbers?
The command echo "text" > file.txt will create file.txt if it does not already exist, true or false?
The command echo "text" > file.txt will not overwrite file.txt if it already exists, true or false?
The command echo "text" >> file.txt will not overwrite file.txt if it already exists, true or false?
Software is backwards compatible if:
It still supports old file formats or applications.
Apple OS X is:
Only compatible with Apple hardware, Derived from FreeBSD, and Certified as UNIX compatible.
Comes in desktop and server variants, Has built in virtualization, and Has powerful scripting capabilities.
Other commercial Unixes:
Are tied to their vendor's hardware and Are UNIX certified.
When choosing a distribution of Linux, you should consider:
Which management tools are provided by the distribution, Which distributions are supported by the software you need to run, The maintenance cycle of the distribution, If you need support on the distribution itself, and Whether or not the distribution is under active development.
The difference between the GPL and LGPL licenses are:
LGPL allows linking to non-GPLed software.
Permissive free software licenses:
Can allow software to be used inside closed source software, Are not approved by the FSF, and Don't have a copyleft provision.
The Creative Commons version of Public Domain licensing is:
No Rights Reserved
Your company makes a hardware firewall that runs a custom Linux kernel. What are your obligations under GPLv2?
You must make the source to your kernel available.
Participating in open source projects can improve your technical skills, even if it is not your day job, true or false?
What are tradeoffs of increasing the level of privacy you have in your web browser?
Sites may not work properly and You may have to explicitly permit some cookies to be saved.
Which of the following is a tool that helps you anonymize your Internet browsing?
The onion router
Social network "like" buttons can track your activity across the Internet, true or false?
Which of the following are properties of a strong password?
A mix of upper and lower case letters, includes symbols, and at least 10 characters long.
What can be done to prevent remote people from running programs on your computer?
Use strong passwords on all user accounts and Turn on a firewall.
The acronym CLI stands for:
Command Line Interface
Traditional UNIX command options used a single dash, like -a; what command options use two dashes like --all?
The acronym GNU stands for:
Gnu's Not Unix
What one character treats the character that follows it as if it was surrounded by single quotes?
The main purpose of using glob characters is to be able to provide a command a list of filenames, true or false?
YOU MIGHT ALSO LIKE...
linux midterm part 2
Linux 101 (backup)
Quiz 1 (Linux)