stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Quiz Linux Essentials H1 t/m H8 Flashcards | StudBud
Explore
/
Quiz Linux Essentials H1 t/m H8
Quiz Linux Essentials H1 t/m H8
40 terms
·
StudBud Administration
·
108 plays
Midterm toets Linux Essentials hoofdstuk 1 t/m 8
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
Compression on a file works by:
Eliminating gaps within the file
Removing the high order bit from each byte
Consolidating multiple files into one
Removing redundant information
2
Error messages generated by commands are sent where by default?
Log files
STDERR
STDIN
STDOUT
3
Is the following path absolute or relative? /etc/ppp
Relative
Absolute
4
One of the jobs of the kernel is to:
Turn source code into machine code
Transfer mail from one machine to another
The system’s resources
Load the operating system after the computer is turned on
5
The ls command without options or arguments...
...lists the contents of a user's home directory.
...lists the contents of the current directory.
...generates an error as this command requires arguments.
...prompts for a directory to list.
6
Which variable contains a list of directories that is searched for commands to execute?
EXEC
PATH
PS1
PS2
7
Applications make requests to the kernel and receive resources, such as memory, CPU, and disk
True
False
8
Which of the following are examples of text editors? (choose three)
nano
vim
pico
yum
9
A successful command will print output to STDOUT.True or False?
True
False
10
In graphical mode, you can get to a shell by running which applications?(choose two)
gbash
terminal
xconsole
xterm
11
Other commercial Unixes:
Are tied to their vendor’s hardware
Use completely different commands than Linux
Do not run the GNU tools
Are UNIX certified
12
The command echo "text" > file.txt will create file.txt if it does not already exist?
False
True
13
To be able to output messages to the screen, use the _______ command:
type
display
echo
print
14
Which command would you use to archive the Documents directory and compress it with bzip2?
tar –fzc Documents documents.tbz
tar –czf documents.tbz Documents
tar –cjf documents.tbz Documents
tar –cjf Documents
15
A pair of double quotes ( " ) will prevent the shell from interpreting any metacharacter.
True
False
16
Which flag would you pass to tar in order to have it make a new archive?
-x
-c
-n
-t
17
A package manager: (choose two)
Keeps track of which files belong to which packages
Downloads software from the Internet
Performs a fresh install of Linux
Emails you when software is out of date
18
To start searching a man page, the first key you press is:
s
/
f
!
19
Which option of the head command will display only the first five lines of a file?
-n 5
-n
-l 5
No option needed; head displays only five lines by default.
20
A pair of single quotes ( ' ) will prevent the shell from interpreting any metacharacter.
False
True
21
Which distributions are made by, or clones of, Red Hat?
Slackware
CentOS
Fedora
Ubuntu
22
11. The following sections commonly appear on a man page: (choose three)
Synopsis
DESCRIPTION
Name
License
23
Which option for the wc command will print the number of lines in a file?
-L
-l
-C
-w
24
In virtualization, what are the host and guest? (choose two)
The host is the machine that runs the virtual machines
The guest is the machine that runs the virtual machines
A host is a virtual machine
A guest is a virtual machine
25
11. The cd command by itself will take you to what directory?
None; it is not a valid command
The directory above the current working directory
The system root directory
Your home directory
26
You type gzip myfile.tar. What happens? (choose two)
myfile.tar.gz holds a compressed version of myfile.tar
myfile.tar is unarchived into the current directory
myfile.tar is removed
An error; you forgot to specify the file with –f
27
Which of the following are traits of a multiuser operating system? (choose three)
Resources are shared between users
Many users can log in simultaneously with a unique account
Users can protect their information from other users
An administrative user gets a dedicated CPU
28
Select the command that can report the location of a command:
what
where
which
29
Which of the following pieces of software deal with file sharing? (choose three)
Netatalk
PostgreSQL
X-Windows
NFS
30
Hidden files are files that begin with what character?
A plus (+)
An asterisk (*)
A period (.)
A dash (-)
31
What is the standard option to provide a command line program to view its documentation?
--info
--help
--doc
-h
32
You try to compress file that is already compressed. Which of the following statements is true?
The file will not be compressed any further
The file will actually be uncompressed
The file will be deleted
33
Two components that provide the ability to implement a firewall include: (choose two)
gufw
ipfw
iptables
Cerberus
34
The two main families of Linux shells are: (choose two)
Python shell
C shell
Korn shell
Bourne shell
35
The Linux shell: (choose three)
Is responsible for tracking the location of config. files
Allows you to launch programs
Is customizable
Has a scripting language
36
If you wanted to let Linux machine share files with Windows clients and servers, you would use
NFS
Samba
DNS
Netatalk
37
Which two pager commands are used by the man command to control movement within the document?
more
grep
less
page
38
A pipe allows you to...
...type multiple commands at one prompt.
...send the output of a command to a file.
...send the output of one command to another.
...send the same input to multiple commands.
39
The directory where additional documentation for software packages most likely can be found is:
/var/share/doc
/usr/software/doc
/var/lib/doc
/usr/share/doc
40
A release cycle:
Describes how often updates to the software come out
Only applies to software you pay for
Describes how long the software will be supported for
Is always 6 months