Phạm Công Thành
New member
_____ option is used with sort command for removing repeated lines.
A. -n
B. -u
C. -t
D. -a
A. -n
B. -u
C. -t
D. -a
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$ cut -d “|” -f3 emp.lst | sort -u | tee design.lst
Above command will cut out the designation field from emp.lst, after that the output will be piped to sort command to find out the unique designations in the file. The output produced will be like:
Chairman
d.g.m
director
executive
g.m.
manager