In which of the preceding cases is grep used as a filter?
Give an example of a command that uses grep
a. With both input and output redirected.
b. With only input redirected.
c. With only output redirected.
d. Within a pipeline.
Part d uses grep as a filter.
a. $ grep \$Id < *.c > id_list
b. $ grep -i suzi < addresses
c. $ grep -il memo *.txt > memoranda_files
d. $ file /usr/bin/* | grep "Again shell script" | sort -r
You might also like to view...
To protect data so it cannot be easily read, what technology is used?
A) Authentication B) Encryption C) Authorization D) Firewalling
Discuss a specific advantage of exporting an Access table to Excel.
What will be an ideal response?
In the PMT function, what is not true about the rate argument?
A. It assumes an annual interest rate. B. It can contain references to fields. C. It is optional. D. It reflects the interest charged on a loan.
All of the following are advantages of the test data technique except
A. auditors need minimal computer expertise to use this method B. this method causes minimal disruption to the firm's operations C. the test data is easily compiled D. the auditor obtains explicit evidence concerning application functions