Intro 6 Flashcards
644
user: read/write
group, other: read
used for files
600
user: read/write
group, other: none
used for files
755
user: read/write/execute
group, other: read/execute
used for directories, programs
700
user: read/write/execute
group, other: none
used for directories and programs
711
user: read/write/execute:
group, other: execute
used for directories
You can list the contents of a directory if it’s readable, but you can only access a file in a directory if the directory is _______.
executable
Your system may have links that point to other links, which are called _______.
chained symbolic links
Symbolic links can cause headaches when you don’t know that they exist. For example, you could ____
easily edit what you think is a copy of a file, but is actually a symbolic link to the original.
Don’t confuse the syntax of symbolic link creation!
ln -s target linkname
not
ln -s linkname target!
How do you uncompress file.gz and remove the suffix?
gunzip file.gz
How do you compress a file with GNU Zip?
gzip file
Unlike the zip programs for other operating systems, gzip does not _______.
create archives of files
tar extract mode flag
x
e.g. tar xvf archive.tar
When using extract mode, remember that tar does not ______ after extracting its contents
remove the archived .tar file
table of contents mode for tar
t