Bash Scripting - Text Processing in Scripts
What is the main purpose of using
sort | uniq together in a bash pipeline?sort | uniq together in a bash pipeline?sort doessort command arranges lines in alphabetical or numerical order.uniq does after sortinguniq command removes duplicate adjacent lines, so sorting first groups duplicates together for removal.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions