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 / linuxdemon
sort $1 | uniq > output | echo "`cat output`"
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
What is in a script?
Is powershell a bash?
What is echo in shell?
What is meant by dos operating system?
What is sudo command?
how to get part of string variable with echo command only?
What is shell environment?
Where are cowrie shells found?
How to calculate the number of passed arguments?
What are scripts in psychology?
What is ms powershell?
What are the different communication commands available in the shell?
What is console line?
What is a shell environment?