CHAPTER 05
WRONG - See section 5.3.7
To search the man page sections for the keyword example, which of the following command lines could you execute?
- man -k example
- man -f example
WRONG - See section 5.4
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.
CORRECT - See section 5.3.6
Section 5 of the manual pages covers:
- File Formats
CORRECT - See section 5.3.2
What key should be used while working in the
man
command if you want to go to the end of the document?- G
CORRECT - See section 5.4.2
To exit the info page, press:
- q
CORRECT - See section 5.4.2
In order to search an info page, the first key to press is:
- s
WRONG - See section 5.4.2
To go to the end of an info page, press:
- n
CORRECT - See section 5.3.4
When interpreting the SYNOPSIS of a command found on a man page, the "|" means:
- The items it separates cannot be used together
CORRECT - See section 5.3.5
After performing a search, you can use the ____ key to return to a previously found match:
- N
CORRECT - See section 5.3.2
To move a page forward one at a time while viewing a man page, press the following:
- Spacebar
CORRECT - See section 6.4.2
Hidden files are files that begin with what character?
- A period (.)
CORRECT - See section 6.3.5
Is the following path absolute or relative?
sysadmin/Documents
- Relative
CORRECT - See section 6.3.2
The tilde (~) is used to represent:
- A user's home directory
CORRECT - See section 6.3.5
The double dot (..) can be used to represent the directory...
- ...above the current directory.
CORRECT - See section 6.4.1
Which of the following commands will prevent any aliased options to the
ls
command?- \ls
CORRECT - See section 6.4.1
The
ls
command color codes results by default.- False
CORRECT - See section 6.4.6
The command
ls -S
will sort files:- By size, largest to smallest
CORRECT - See section 6.5.2
Which option(s) can be used to prevent
cp
from overwriting an existing file?- -i
- -n
CORRECT - See section 6.10
The command
rm -r
will...- remove a directory along with any files or subdirectories.
CORRECT - See section 6.9
Which option can be used with the
rm
command to prompt before deleting?- -i
CHAPTER 07
CORRECT - See section 7.1
CORRECT - See section 7.3
WRONG - See section 7.3
CORRECT - See section 7.4
CORRECT - See section 7.4
CORRECT - See section 7.4
CORRECT - See section 7.5
WRONG - See section 7.5
CORRECT - See section 7.3
CORRECT - See section 7.1
Compression on a file works by:
- Removing redundant information
CORRECT - See section 7.3
You type
gzip myfile.tar
. What happens?- myfile.tar is removed
- myfile.tar.gz holds a compressed version of myfile.tar
WRONG - See section 7.3
How would you obtain output similar to the following?
compressed uncompressed ratio uncompressed_name
278168 1016950 72.6% tags
- gunzip t tags
CORRECT - See section 7.4
Which command would you use to archive the Documents directory and compress it with bzip2 compression?
- tar cjf documents.tbz Documents
CORRECT - See section 7.4
Which command will show what is inside the compressed tarball with a name of foo.tar.gz?
- tar tzf foo.tar.gz
CORRECT - See section 7.4
In the command
tar cvjf foo.tbz a b c
, what are a, b, and c?- File names to be added to the archive
CORRECT - See section 7.5
Which of the following commands will create a zipfile with the contents of your Documents directory?
- zip -r mydocs.zip Documents
WRONG - See section 7.5
Given a file called documents.zip, how can you extract just the files under ProjectX?
- unzip t documents.zip ProjectX
CORRECT - See section 7.3
You try to compress a file that is already compressed. Which of the following statements is true?
- The file will not be compressed any further than it already was
CORRECT - See section 7.1
The _____ command is normally executed daily to update the database of all files that are on the system.
- updatedb
jawaban lain kunjungi DISINI
0 komentar