The three special file modes are
owner/group/world
read/write/execute
user/group/others
setuid/setgid and sticky
Which loop type is the recommended way to iterate over a set of filenames?
a case loop
a for loop
a while loop
an until loop
The three permissions in the file mode are
user/group/other
The fstab file contains what information?
The runlevel of the system
Currently mounted filesystems
Filesystems to mount at boot
NFS file systems mounted by users
What software is contained in a Linux distribution?
The full operating system, including the kernel, package manager, GNU tools and libraries, documentation, a GUI, and other software.
Optional software that sits on top of the kernel and includes package management and a GUI.
A repository of optional software available to install via the package management system.
A specially modified kernel designed to perform one task extremely well.
If the system is swapping, what can be done to alleviate the problem?
Add faster CPUs
Add more CPUs
Add more memory
Add a larger hard drive
The cd into a directory, you need what kind of permission?
read
write
execute
setuid
In regular expressions, to what does greedy vs. lazy refer?
How many lines in a file the pattern will match
How many times the pattern will match on a line
How strict the pattern is required to be
Whether the pattern quantifiers will stop at whitespace
Which if these is NOT true of symbolic, or soft, links?
Has its own inode
Is just a directory entry
Can cross mount points
Can point to a directory
What is the awk tool designed to be?
a calculator
a pattern matching programming language
a non-interactive editing tool
an operating system
Why is it recommended for root’s homedir to be in a separate location from other users’ homedirs?
Because root doesn’t want to hang out with pesky users
Because users are annoying
Because root’s homedir permissions prevent user access
Because user homedirs are sometimes a separate filesystem that may not be mounted in single user mode