Questions
- Which of the following sets of metacharacters would cause the second command to run only if the first command runs successfully?
||
&&
|
&
- You want to run a command that contains the
$
metacharacter, but you want the shell to interpret the metacharacter literally. How would you do that? (Choose two.)- Precede the metacharacter with a
/
. - Surround the text string that contains the metacharacter with a pair of single quotes.
- Precede the metacharacter with a
\
. - Surround the text string that contains the metacharacter with a pair of double quotes.
- It’s not possible.
- Precede the metacharacter with a
- You’re using
find
to search for files on a FreeBSD system. To search through the current working directory, what must you do on FreeBSD that you don’t have to do on Linux?- Use a dot to designate the search path.
- Nothing. The...