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;
40 Cards in this Set
- Front
- Back
What command will test if a filename is writeable?
|
[-w filename]
|
|
How does the kernel determine how to execute a file?
|
by signature bytes at the beginning of the file
|
|
What are daemons used for?
|
performing routine tasks
|
|
In a shell script, what does export do?
|
makes a variable into an environment variable
|
|
What script command is [ symbolically linked to?
|
test
|
|
How are comments within a script noted?
|
with a #
|
|
What is cron used for?
|
running jobs at specific times
|
|
What command will test if a filename is executable?
|
[-x filename]
|
|
What does the ntsysv program do?
|
manage what daemons start at bootup
|
|
What file does cron use to configure what jobs to run?
|
crontab
|
|
Where are the init scripts for daemons loaded at startup stored?
|
/etc/rc.d/init.d
|
|
What command is used to extract a tarfile?
|
tar -xvf filename.tar
|
|
How are daemons loaded at boot denoted in ntsysv?
|
with an *
|
|
What daemon logs system messages?
|
syslogd
|
|
What is a daemon?
|
a process whose parent process is ID1
|
|
What is the appropriate hex code for the swap partition in fdisk?
|
82
|
|
What must be done after compiling a kernel?
|
run make modules and make modules_install
|
|
What shell command will test if one number is greater than another?
|
test n1 -gt n2
|
|
Where are the default home directory files usually copied from?
|
/etc/skel
|
|
What command will test if a filename is readable?
|
[-r filename]
|
|
What is the magic for a script?
|
#!
|
|
What are the signature bytes at the beginning of an executable called?
|
magic
|
|
How is a for construct ended?
|
with done
|
|
Where is a user's default home directory?
|
/home/username
|
|
What command is used to save a file to a tarfile?
|
tar -cvf filename.tar files
|
|
What two commands can be used to compile a kernel?
|
make zImage and make bzImage
|
|
What shell command will test if two numbers are equal?
|
test n1 -eq n2
|
|
What advantage does make bzImage have over make zImage?
|
allows for larger kernels
|
|
What is an if construct closed with?
|
fi
|
|
How can the contents of a shell variable be retrieved?
|
prepend the variable name with $
|
|
What shell command will test whether two strings are equal?
|
test s1 = s2
|
|
What command will test if a filename is empty?
|
[-s filename]
|
|
What shell command will test whether two numbers are not equal?
|
test n1 -ne n2
|
|
How is a case construct ended?
|
with esac
|
|
What is the for construct used for?
|
loop iteration
|
|
What does a case construct do?
|
allows the script to switch between statements depending on pattern match
|
|
What does the file construct do?
|
gives the script a choice of conditions and responses
|
|
Where are most log files located?
|
/var/log
|
|
What is the appropriate hex code for the native partition in fdisk?
|
83
|
|
What shell command will test whether two strings are not equal?
|
test s1 != s2
|