Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
25 Cards in this Set
- Front
- Back
When searching man pages "x" searches the description; "y" string searches the entire contents of the man pages; and "z" string finds all matching entries.
|
x="-k"
y="-K" z="-a" |
|
Which section of man pages is dedicated for system calls?
|
usr/man/man2
|
|
Which section of man pages is dedicated for files in the /dev directory
|
usr/man/man4
|
|
Which section of man pages is dedicated for commands you can run within a shell
|
usr/man/man1
|
|
Which section of man pages is dedicated for root operator utilites (administrative commands)
|
usr/man/man8
|
|
You want to view the system calls man pages. What command would you enter to view the introduction to the system calls section?
|
man 2 intro
|
|
To see where you are at in the directory structure, use this command to see the absolute path to the current directory
|
pwd
|
|
Use this command without any arguments to return to your home directory
|
cd
|
|
This is a wildcard for any single character
|
?
|
|
Using this switch after a ls command lists all files (including config files that start with a period)
|
-a
|
|
Using this switch with a ls command lists only the names of directories (not their contents)
|
-d
|
|
Using this switch with a ls command sorts files by time (newest first)
|
-t
|
|
This command can be used to create files, but is primarily used to send the contents of one or more files to your display or other output device.
|
cat
|
|
The use of this pipe redirects the output, but it appends to the existing file rather than overwrites it.
|
>>
|
|
End of File (EOD) character used to close a file?
|
CTRL-D
|
|
use this switch with the CAT command to Show nonprinting characters
|
-v
|
|
use this switch with the CAT command to Show all nonprinting characters and prints $ at the end of each line; equivalent to -vE
|
-e
|
|
Use this switch with a CAT command to show all nonprinting characters, prints $ at the end of each line, and shows tabs as ^I (equivalent to -vET)
|
-A
|
|
Use this utility to see the contents of a compressed file.
|
zcat
|
|
Displays a file, it starts with the last line and ends with the first one.
|
tac
|
|
You want to display the file June_report with the less pager, highlighting places where the word "data" appears. What command do you use?
|
less +/data June_report
|
|
This command is used to change the date and time of the last access. If the file does not exist, touch will create a new file of 0 length
|
touch
|
|
Using this switch with the touch command changes the access time only.
|
-a
|
|
Using this switch with the touch command uses a specified time rather than the current time.
|
-t
|
|
Use this switch with the touch command if you don't the system to create a new file.
|
-c
|