stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Linux Essentials Mid-term Review Flashcards | StudBud
Explore
/
Linux Essentials Mid-term Review
Linux Essentials Mid-term Review
28 terms
·
StudBud Administration
·
110 plays
Imported from external platform
Flashcards
28 cards
F
Practice quiz
P
Host live
L
Questions
28
Answers
1
The first character in a long listing (ls -l) indicates:
The size
The owner
If something is a file, directory, or symbolic link
The permissions
2
The asterisk character is used to represent zero or more of any character in a filename.
False
True
3
Which environment variable contains a list of directories that is searched for commands to execute?
PATH
EXEC
PS1
PS2
4
In the command tar -czf foo.tar.gz bar, what is the purpose of the f flag?
Tells tar to read from the file that follows the flag
Specifies extra compression is to be used
Tells tar to print the name of each file as it is processed
Tells tar to write to the file that follows the flag
5
The tilde (~) is used to represent:
A user's home directory
Nothing; it has no special meaning
The directory above the current working directory
Any two single characters
6
Which of the following pieces of software deal with file sharing?(choose three)
NFS
Netatalk
X-Windows
Samba
7
Which of the following are glob characters?(choose three)
The dash character -
The asterisk *
The question mark ?
The square brackets [ and ]
8
The cd command by itself will take you to what directory?
The system root directory
The directory above the current working directory
None; it is not a valid command
Your home directory
9
Which of the following commands can be used to compress a file? (choose three)
gzip
bunzip2
zip
bzip2
10
Linux is distributed under which license?
MIT
GPLv3
GPLv2
BSD
11
To search the man page sections for the keyword example, command lines could you execute?(choose two)
apropos example
man -k example
man -f example
apropus example
12
The shell program interprets the commands you type into the terminal into instructions that the Linux OS can execute.
True
False
13
The most common shell used for Linux distributions is the ________ shell.
Zsh
Ksh
Bash
Tsch
14
Which two pager commands are used by the man command to control movement within the document? (choose two)
more
less
grep
page
15
The top-level directory on a Linux system is represented as:
C:
/home
/root
/
16
Lossy compression:(choose three)
Decompresses to an identical version as the original
Usually results better compression than lossless
Is often used with images
Sacrifices some quality
17
The most popular Linux platform for mobile phones is:
Android
BlackBerry
IOS
MobileLinux
18
The three main modes of tar are:(choose three)
Compress
Extract
Create
List
19
Which of the following commands can be used to rename a file?
name
mv
rm
cp
20
Creative Commons licenses allow you to: (choose three)
Specify whether or not people may distribute changes
Get a veto on where the work is used
Allow or disallow commercial use
Specify whether or not changes must be shared
21
Select the command that can report the location of a command:
which
where
what
why
22
The acronym CLI stands for:
Command Line Interpreter
Command Line Interface
Computer Line Interface
Computer Link Interpreter
23
In graphical mode, you can get to a shell by running which applications?(choose two)
Xterm
Gbash
Terminal
console
24
What does a distribution provide to add and remove software from the system?
Application Programming Interface (API)
Compiler
Package Manager
Bash
25
The touch command can be used to: (choose two)
Change a file's name
Create new files
Update the timestamp of existing files
Change ownership of a file
26
A pair of double quotes (" ) will prevent the shell from interpreting any metacharacter.
False
True
27
The statement that describes the difference between a man page and an info page is:
The man page is a long detailed reference; the info page is very terse.
The info page is like a guide; a man page is a more concise reference.
There is very little difference between them.
The man page is like a guide; the info page is a more concise reference.
28
Compression of a file works by:
Eliminating gaps within the file
Removing redundant information
Consolidating multiple files into one
Storing most of the data on removable media and just leaving a pointer