Linux final study guide
Terms in this set (69)
One of the jobs of the kernel is to:
manage the system resources
Linux is written in:
Source code refers to...:
Human readable version of computer software
What is the standard option to provide a command line program to view its documentation?
Is the command man -k is the same as the command apropos
Is the whatis command is the same as man -w.
The directory where additional documentation for software packages most likely can be found is:
Hidden files are files that begin with what character?
a period (.)
What option for the ls command will display all files, including hidden files?
The top-level directory on a Linux system is represented as:
Is the following path absolute or relative?
Compression on a file works by....:
makes the file smaller by removing duplication from a file and storing it in such that the file can be restored.
In general, which of the following would you want to use lossless compression?
no information is removed from the file. compressing and decompressing will leave something identical to the original.
You type gzip myfile.tar. What happens?
myfile.tar is removed
myfile.tar.gz holds a compressed version of myfile.tar
Error messages generated by commands are sent where by default?
A successful command will print output to STDOUT.
Which of the following commands will direct error messages to the file error.log?
A pipe allows you to...
.send the output of one command to another
Channel 2 is _____:
The "echo" command does this:
displays the value of a variable. Used to display output in the terminal
A file begins with #!/bin/csh. This means ______:
running this script will invoke /bin/csh to interpret the rest of the file
Which are appropriate editors for writing shell scripts?
Most of nano's commands take the form of:
...Control and another character
What does this shell script do?
--if [ ! -d $FOO ]; then
-- mkdir $FOO
Which o)f the following are valid CPU types for Intel-based platforms?
32 bit and 64 bit
64 bit platforms can access more memory than 32 bit platforms.
What does the acronym RPM
RPM package manager
One way to install new software on a Linux system is to use a package management system.
When you execute the dmesg command, the system displays messages that are generated by the kernel.
Which of the following are package management commands for distributions with software distributed in files ending in ".deb"?
apt-get or dpkg
Which of the following are package management commands for distributions with software distributed in files ending in ".rpm"?
rpm and yum
Which of the following would be considered a host?
A service is...
a feature provided by one computer to another
A network packet contains ...choose 2
the IP address of the destination machine
• ...the IP address of the source machine
Only servers have hostnames.
Which files contain user account information?
Which user can view the /etc/shadow file?
Which command will display the UID, GID and groups your current user belongs to?
Each user is a member of their own private group, of which they are the only member.
Which command will display the users that are currently logged in to the system?
UIDs 1-500 are usually reserved for what kind of users?
If a user is deleted, the files and directories that the user owned are ...
will show a UID as the owner, but not the user name
Which of the following options for the useradd command allows root to specify the UID to be associated with the account?
Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?
On a system that does not use UPG, the useradd command will also create a user group. For example, user "bob", group "bob".
Which of the following commands set "other" permissions on "file" to r-x?
chmod 775 file
Which of the following commands sets "other" permissions on "file" to r-x?
chmod 775 file
Only one set (user, group, other) of permission can be changed at once using the symbolic method.
Which of the following are methods for setting permissions using the chmod command?
The chown command can be used to change the owner and group of a file.
The Samba application is a ______:
Samba allows a linux machine to look like a windows machine so that it can share files. FILE SHARING.
Which of the following are examples of desktop software?
web browser, text editor, music player or any other software that you interact with.
If you wanted to set up a blog, which software would be most helpful?
Which of the following pieces of software deal with file sharing?
samba, Network file system(NFS), and Netatalk
If you wanted to create and print an invoice, what could you use?
Which of the following is true about graphical mode?
Which of the following is provided by a graphical interface that isn't normally provided to a non graphical interface?
Is a server likely to be running in graphical mode.
In graphical mode, you can get to a shell by running which applications?
Which of the following are traits of a multiuser operating system?
Select all the applications that provide access to the Command Line Interface (CLI)?
Which environment variable contains a list of directories that is searched for commands to execute?
Select from the following commands those which can report the location of a command:
A pair of single quotes ( ' ) will prevent the shell from interpreting any metacharacter.
The /tmp directory is a temporary directory and will not exist on a system at all times.
Does the /var directory have files that change over time.
The "sticky bit" permission does ...
Which of the following commands will set the "sticky bit" on /shared ?
chmod 1777 /shared
The "setuid" permission does ...
allows a command to be run as the file owner
YOU MIGHT ALSO LIKE...
Linux Final Exam
Ioka Ward Leadership
NOS 130 Final
OTHER SETS BY THIS CREATOR
CPT-257 Part 4
A+ Guide to Managing and Maintaining Your PC 8th Ed. Ch.3
A+ Guide to Managing and Maintaining Your PC 8th Ed. Ch.10
THIS SET IS OFTEN IN FOLDERS WITH...
LINUX FINAL (9-16)
Linux Commands-Ch. 4
Linux Basic Commands