______ option is used for counting frequency of occurrence.

Lượng Tiger

New member
______ option is used for counting frequency of occurrence.
A. -d
B. -c
C. -u
D. -a
 
Answer: b
Explanation: We can use the -c option with uniq command to count the frequency of occurrence of all lines along with the lines. For example,
Code:
$ cut  -d  “|” -f3 emp.lst | sort  |uniq -c
1 d.g.m                    
2 director
4 executive
4 g.m. 
2 manager
 

Tìm kiếm

Back
Top