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 / supriya
sort -u filename1 |tee file2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to set an array in linux?
Where are cowrie shells found?
What is the difference between break and continue commands?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
What is shell geeksforgeeks?
What are the different communication commands available in the shell?
How do you debug a script?
How will you connect to a database server from linux?
What are the types of script?
What makes c shell a more preferable option than the bourne shell?
How do we delete all blank lines in a file?
What is shell company all about?
Can we run shell script in windows?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
How can you get the value of pi till a 100 decimal places?