Create a bash shell script to sort and then
uniq the file from the command line & store it to a new
file and output the results to the screen. Name this
script "sortAndUniq.sh"
Answer Posted / vipul dalwala
sort $1 | uniq | tee output.txt
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is shell and shell script?
Is powershell a language?
wats the deinitions for shell utility and filter?
How do scripts work?
How will you emulate wc –l using awk?
What is web script?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
How do I run a script on mac?
What is path in shell script?
What is a shell script? Can you name some of its advantages?
What makes c shell a more preferable option than the bourne shell?
What are different types of shell?
Is it possible to substitute "ls" command in the place of "echo" command?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
What is the fastest scripting language?