The following command will produce an error. [code] $ cut -d “|” -f 1,4 emp.lst [/code]

The following command will produce an error.
Code:
$ cut -d “|”  -f  1,4  emp.lst
A. True
B. False
 
Answer: b
Explanation: Since cut uses the tab as the default field delimiter but we can also work with a different delimiter. Above command uses | (pipe) as the delimiter but we have to escape | in “ ” to prevent the shell from interpreting it as a pipeline character.
 

Tìm kiếm

Back
Top