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;
32 Cards in this Set
- Front
- Back
What kind of path names should you not use with the tar command?
|
absolute
|
|
If you want to use absolute pathnames with tar, use this option so the leading slash will not get stripped?
|
-P
|
|
To create a tar file of the PWD, use the "-xy" option? (where "x" creates the tar file & "y" gives the name for the new archive).
|
-cf
|
|
You can view the contents of your tar file using -"xy" option? (where x causes tar to print the names of the tar files)
|
-tf
|
|
To extract your tar file use the -"xyz" option? (where "x" tells tar to extract, "y" tells tar to print in standard output and "z" names the tar file to be extracted).
|
-xvf
|
|
use the -"wxyz" option with tar to extract files in interactive mode (prompted file by file for extraction).
|
-xvwf
|
|
If you know the name of the file you want to extract, you can pass it directly to tar using this option?
|
tar -xf myarchive.tar myfile
|
|
using this option, tar will leave an existing file intact when doing a select extraction?
|
-k
|
|
As part of your backup strategy, you want to back up the /home directories to /backups on another partition. What would you type at the command line?
|
tar -cf /backups/HomeBackUp.tar home/*
|
|
you can uncompress a gzip file using these 2 methods?
|
gunzip, gzip -d
|
|
show command to create a tar file called myarchive.tar in the pwd & gzip it.
|
tar -cf myarchive.tar . | gzip myarchive.tar
|
|
When using tar & gzip you must have enough free space for what?
|
the compressed & uncompressed file.
|
|
What option can you use to tar & gzip a directory without using a pipe added gzip command?
|
tar -czf myarchive.tar
|
|
A tar.gz file can also end with?
|
.tgz
|
|
What command would you enter to uncompress the MyArchive.tar.gz
located in the pwd. |
tar -xzf MyArchive.tar.gz
|
|
You want to get a list of all the directories in your home directory sorted by time with the newest level at the top. What command would you use?
|
ls -tdR *
|
|
What command do you use to change the access time on May_report to the present time?
|
touch -a May_report
|
|
By default, what shell does linux log you into? Where is it defined?
|
bash, /etc/passwd
|
|
to determine what shell you are currently using ,type:
|
echo $SHELL
|
|
Use this command to change finger info for your account?
|
chfn
|
|
to permanenetly change your shell, use this command?
|
chsh -s shellname
|
|
You can enter multiple commands on a single line by separating them by?
|
;
|
|
Use this to wrap command text to the next line (when it's too big for the display). It tells OS to ignore next character
|
\
|
|
This emacs command line combo will move your cursor to the beginning of the word on the left
|
esc+b
|
|
This emacs command line combo will move your cursor to the beginning of the word on the right
|
esc+f
|
|
This emacs command line combo will move your cursor to the beginning of the line
|
ctrl+A
|
|
This emacs command line combo will move your cursor to the end of the line
|
ctrl+E
|
|
This emacs command line combo will delete 1 word to the left of the cursor
|
Esc+Del
|
|
This emacs command line combo will delete 1 word from right of cursor
|
Esc+d
|
|
This emacs command line combo will delete from cursor to end of line
|
Ctrl+K
|
|
By default emacs config is kept here?
|
/etc/inputrc
|
|
You can use these 2 options to have bash complete your commands for you?
|
tab once or escape twice
|