Question: 1. In the command `ls *.txt`, what does the glob pattern match? .txt anywhere in the name (e.g. .txtdump, notes.txt, or notes.txt.bak) all files in
1. In the command `ls *.txt`, what does the glob pattern match?
| .txt anywhere in the name (e.g. .txtdump, notes.txt, or notes.txt.bak) | ||
| all files in the current directory | ||
| Anything followed by .txt (e.g. notes.txt, ascii_art.txt) | ||
| .txt followed by anything (e.g. .txtfile, .txtdump) |
2. The command `cd ../..` uses an absolute path argument.
True
False
3.Which type of quotes provide the most literal interpretation of the quoted string?
| backticks (e.g. `escape me`) | ||
| double quotes (e.g. "escape me") | ||
| single quotes (e.g. 'escape me') |
4. Which command would list just the files beginning with the letter 'z' in the /usr/bin/ directory from anywhere on the system?
| ls /usr/bin/* | ||
| ls z* | ||
| ls /usr/bin/z* | ||
| ls *z | ||
| ls /usr/bin/*z |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
