Search
Browse
Create
Log in
Sign up
Log in
Sign up
Upgrade to remove ads
Only $2.99/month
Linux 101
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (71)
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
The "sticky bit" permission...
**...prevents others from removing files they don't own from a common directory.
The /var directory has files that change over time.
**True
The /tmp directory is a temporary directory and will not exist on a system at all times.
**False
A pair of single quotes ( ' ) will prevent the shell from interpreting any metacharacter.
**True
Select the command that can report the location of a command:
**which
Which environment variable contains a list of directories that is searched for commands to execute?
**PATH
Select all the applications that provide access to the Command Line Interface (CLI)?
(choose two)
**Virtual Terminal
**Terminal window
Which of the following are traits of a multiuser operating system?
**Many users can log in simultaneously with a unique account
**Resources are shared between users
**Users can protect their information from other users
In graphical mode, you can get to a shell by running which applications?
(choose two)
**xterm
**terminal
A server is likely to be running in graphical mode.
**False
Which of the following is provided by a graphical interface that isn't normally provided to a non graphical interface?
(choose four)
**Popups
**Desktop
**Menus
**Windows
Which of the following is true about graphical mode?
**You have menus and tools to help you find what you are looking for
**You access this mode by logging into a graphical display
**After login, you are provided with a desktop
If you wanted to create and print an invoice, which software could you use?
**LibreOffice
Which of the following pieces of software deal with file sharing?
**NFS
X-Windows
**Samba
PostgreSQL
Netatalk
If you wanted to set up a blog, which software would be most helpful?
**WordPress
Which of the following are examples of desktop software?
(choose two)
Compiler
Web server
**Music player
**Web browser
File share
Compiler
Web server
**Music player
**Web browser
File share
The Samba application is a:
**File Server
The chown command can be used to change the owner and group of a file.
**True
Which of the following are methods for setting permissions using the chmod command?
(choose two)
**octal
binary
letter
**symbolic
Only one set (user, group, other) of permission can be changed at once using the symbolic method.
True or False?
**False
Which of the following commands sets "other" permissions on file to r-x?
**chmod 775 file
Which of the following commands set "other" permissions on file to r-x?
**chmod o=rx file
On a system that does not use UPG, the useradd command will also create a user group. For example, user bob, group bob.
True or False?
False
Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?
**-G
Which of the following options for the useradd command allows root to specify the UID to be associated with the account?
-u
If a user is deleted, the files and directories that the user owned...
**...will show a UID as the owner, but not user name.
UIDs 1-500 are usually reserved for what kind of users?
System accounts, such as server processes
Which command will display the users that are currently logged in to the system?
whoami
**who
Each user belongs to at least one group.
True or False?
**True
**True
Which command will display the UID, GID and groups your current user belongs to?
**id
Which user can view the /etc/shadow file?
**The root user
Which files contain user account information?
(choose two)
**/etc/passwd
**/etc/shadow
Only servers have hostnames.
True or False?
False
A network packet contains ...
(choose two)
**...the IP address of the destination machine.
**...the IP address of the source machine.
A service is...
...like an IP address.
...a file that contains configuration information.
...another name for a computer's hostname.
...a feature provided by one computer to another.
**...a feature provided by one computer to another.
Which of the following would be considered a host?
**A printer attached to the network via an IP address
Which of the following are package management commands for distributions with software distributed in files ending in .rpm? (choose three)
**rpm
apt-get
**yum
**yumex
Which of the following are package management commands for distributions with software distributed in files ending in .deb?
(choose three)
**aptitude
**apt-get
rpm
**dpkg
When you execute the dmesg command, the system displays messages that are generated by the kernel.
True
One way to install new software on a Linux system is to use a package management system.
True
64 bit platforms can access more memory than 32 bit platforms.
True or False?
**True
True
Which of the following are valid CPU types for Intel-based platforms?
(choose two)
**64 bit
48 bit
24 bit
**32 bit
What does this shell script do?
FOO=/tmp/foo
if [ ! -d $FOO ]; then
mkdir $FOO
fi
**Creates /tmp/foo if it does not exist
Most of nano's commands take the form of:
The F1 through F12 function keys
Mouse clicks
Alt and another character
Control and another character
Escape followed by another character
**Control and another character
Which are appropriate editors for writing shell scripts?
(choose two)
nano
vi
A file begins with #!/bin/csh. This means:
Running the script will invoke /bin/csh to interpret the rest of the file
The echo command:
**Is used to output text to the console
Channel 2 is:
STDIN
STDOUT
STDERR
STDALL
**STDERR
A pipe allows you to...
...send the output of a command to a file.
...send the same input to multiple commands.
...send the output of one command to another.
...type multiple commands at one prompt.
**...send the output of one command to another.
Which of the following commands will direct error messages to the file, error.log?
(choose two)
**ls /root 2> error.log
**ls /root &> error.log
A successful command will print output to STDOUT.
True or False?
True
Error messages generated by commands are sent where by default?
STDERR
You type gzip myfile.tar. What happens?
(choose two)
**myfile.tar is removed
**myfile.tar.gz holds a compressed version of myfile.tar
Lossy compression:
(choose three)
**Is often used with images
**Usually results better compression than lossless
**Sacrifices some quality
In general, for which of the following would you want to use lossless compression?
A log file
Compression on a file works by:
Removing redundant information
Is the following path absolute or relative?
sysadmin/Documents
Relative
Is the following path absolute or relative?
/etc/ppp
Absolute
The top-level directory on a Linux system is represented as:
/
What option for the ls command will display all files, including hidden files?
-a
Hidden files are files that begin with what character?
A period (.)
The directory where additional documentation for software packages most likely can be found is:
**/usr/share/doc
The whatis command is the same as man -w.
False
The command man -k is the same as the command apropos.
True
What is the standard option to provide a command line program to view its documentation?
--help
Source code refers to:
The interface that software uses to talk to the kernel
A human readable version of computer software
The license that dictates how you may use and share the software
The version of a program that the computer runs on the CPU
**A human readable version of computer software
Linux is written in:
.NET
C
Perl
C++
Java
C
Unix is:
(choose two)
A trademark
A type of hardware
A text editor
An operating system
A distribution of Linux
**A trademark
**An operating system
One of the jobs of the kernel is to:
Manage the system's resources
Load the operating system after the computer is turned on
Turn source code into machine code
Transfer mail from one machine to another
**Manage the system's resources
THIS SET IS OFTEN IN FOLDERS WITH...
Linux 101
81 terms
Linux 101
40 terms
CISCO Networking Academy
174 terms
LINUX FINAL (9-16)
81 terms
YOU MIGHT ALSO LIKE...
Linux final study guide
69 terms
CHAPTER 5 BUSINESS STUDY GUIDE
71 terms
Chapter 9
94 terms
Chapter 09: Operating Systems
40 terms