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 / roopa
hey can you please tell me what is the avlue of $1
and how do we specify that in our script?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do I read a .sh file?
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.
What are the advantages of shell script?
Write the syntax for "if" conditionals in linux?
What is @echo off?
How to calculate the number of passed arguments?
State the advantages of shell scripting?
What does path stand for?
What exactly is a shell?
Why do we write bin bash in shell scripts?
What is difference between shell and bash scripting?
What is the purpose of scripting?
Can shell script run on windows?
What is path in shell script?
What are the zombie processes?