Chapter 4 Flashcards
Wildcard
symbol or set of symbols that stands in for other characters
180
? wildcard
Stands in for a single character
180
- wildcard
matches any character or set of characters even if there is no character
180
Bracket Values
matches any character combination enclosed in the brackets
180
What does Display All Files omit?
ls files starting with a “.”
181
Long Listing
ls command with the -l parameter. produces a long listing that includes information such as the file’s permission string, owner, group, size, and creation date
182
ls option -F or –classify
appends an indicator code to the end of the filename so that you know what type of file it is
182
ls file type: /
Directory
182
ls file type: *
Executable
182
ls file type: |
Named pipe
182
ls file type: =
Socket
182
ls file type: @
Symbolic link
182
ls option –color
produces a color coded listing that differentiates directories, symbolic links, and others
182
ls option -R or –recursive
causes ls to display directory contents recursively. It displays subdirectories
182
tar
stands for “tape archiver”
archives data to other media
188
tar command
–create -c
Creates an archive
188
tar command
–concatenate or -A
Appends tar files to an archive
188
tar command
–append or -r
Appends non-tar files to an archive
188
tar command
–update or -u
Appends files that are newer than those in an archive
188
tar command
–diff or –compare or -d
Compares an archive to files on a disk
188
tar command
–list or -t
Lists an archive’s contents
188
tar command
–extract or –get or -x
Extracts files from an archive
188
tar qualifier
–directory dir or C
Changes to directory dir before performing operations
188
tar qualifier
–file [host:]file or f
Uses the file called file on the computer called host as the archive file
188
tar qualifier
–listed-incremental file or g
Performs an incremental backup or restore, using file as a list of previously archived files
189
tar qualifier
–multi-volume or M
Creates or extracts a multi-volume archive
189
tar qualifier
–preserve-permissions or p
Preserves all protection information
189
tar qualifier
–absolute-paths or P
Retains the leading / on filenames
189