CIT 225 Linux Final Exam (1-16)
What option for the ls command will display all files, including hidden files
-a
What is the standard option to provide a command line program to view its documentation
-help
The top level directory on a Linux system is represented as
/
the directory where additonal documentation for software packages most likely can be found is
/usr/share/doc
Source code refers to
A human readable version of computer software
In general, for which of the following would you want to use lossless compression
A log file
Is the following path absolute or relative? /etc/ppp
Absolute
Unix is
An operating system A trademark
Linux is written in
C
Which of the following commands set "other" permissions on file to r-x
Chmod o=rx file
Which of the following is provided by a graphical interface that isnt normally provided to a non graphical interface?
Desktop Windows popups menus
A server is likely to be running in graphical mode
False
Only one set (user, group, other) of permission can be changed at once using the symbolic method
False
The command man -k is the same as the command apropos
False
The whatis command is the same as man -w
False
the samba application is a:
File server
Which of the following commands will direct error messages to the file, error.log?
Is /root 2> error.log
The echo command
Is used to output text to the console
If you wanted to create and pring an invoice, which software could you use?
LibreOffice
One of the jobs of the kernel is to
Manage the system's resources
Which of the following pieces of software deal with file sharing?
NFS Netatalk Samba
Which are appropriate editors for writing shell scripts?
Nano Vi
which environment variable contains a list of directories that is searched for commands to execute?
PATH
Is the following path absolute or relative? sysadmin/Documents
Relative
Compression on a file works by
Removing redundant information
A file begins with #!/bin/csh. This means?
Running the script will invoke /bin/csh to interpret the rest of the file
Channel 2 is
STDERR
error message generated by commands are sent where by default?
STDERR
Lossy Compression:
Sacrifices some quality usually results better compression than lossless is often used with images
A pipe allows you to
Send the output of one command to another
A pair of single quotes (') will prevent the shell from interpreting any metacharacter.
True
A successful command will print output to STDOUT
True
The /var directory has files that change over time
True
The chown command can be used to change the owner anf group of a file.
True
Which of the following are traits of a multiuser operating system?
Users can protect their information from other users Resources are shared between users Many users can log in simultaneously with a unique account
Select all the applications that provide access to the command line interface (CLI)
Virtual terminal Terminal window
If you wanted to set up a blog, which software would be most helpful?
Wordpress
Which of the following is true about graphical mode?
You have menus and tools to help you find what you are looking for You have access this mode by logging into a graphical display After login toy are provided with a desktop
Hidden files are files that begin with what character?
a period (.)
The "setuid" permission
allows a command to be run as the file owner
Which of the following commands will set the "sticky bit" on /shared?
chmod 1777 /shared
Which of the following commands sets "other" permissions on file to r-x
chmod 775 file
The /tmp directory is a temporary directory and will not exist on a system at all times
false
You type gzip myfile.tar. what happens
myfile.tar.gz holds a compressed version of myfile.tar myfile.tar is removed
Which of the following are methods for setting permissions using the chmod command?
octal symbolic
The "sticky bit" permission
prevents others from removing files they dont own from a common direcctory
In graphical mode, you can get to a shell by running which applications?
terminal xterm
Which of the following are examples of desktop software?
web browser music player
Select the command that can report the location of a command:
which