Question
QUESTION 4 Which UNIX shell operator will perform which function? - A. B. C. D. Append output to a file - A. B. C. D.
QUESTION 4
-
Which UNIX shell operator will perform which function?
- A. B. C. D. Append output to a file
- A. B. C. D. !!
- A. B. C. D. <
- A. B. C. D. Neutralize a single metacharacter
A. Re-direct input into a command string from a file
B. \
C. Recall last command
D. >>
10 points
QUESTION 5
-
cd to the /etc directory.
Execute the following command.
ls -l au*.[mn]*
The output is the following:
-rw-r--r-- 1 root root 675 Jan 24 19:04 auto.master
-rw-r--r-- 1 root root 524 Mar 22 2012 auto.misc
-rwxr-xr-x 1 root root 1374 Mar 22 2012 auto.net
This is exactly the output I was hoping for.
What function are the [ ] performing?
They look good and balance the command string.
The uniquely match the m and n characters to ensure only the desired output is generated.
They neutralize the m and n characters to hide the output.
They were used by mistake and have no meaning.
10 points
QUESTION 6
-
Create an alias called li. When executed it will generate a long listing of files including the file i-node numbers.
Will the following alias do this?
alias li='ls -li'
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started