write a non recursive shell script that accepts any number
of arguments and prints them in the reverse order
Answer Posted / amar
./reverse frg gh rtyh
no of arguments:3
arguments in reverse order:
rtyh gh frg
Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What is the difference between bash and shell?
Write down the syntax of "for " loop
When should shell programming/scripting not be used?
How to print all the arguments provided to the script?
What is inside a seashell?
Explain about return code?
shell script for reverse the string
What are "c" and "b" permission fields of a file?
How do I run a script on mac?
What is shift command in shell script?
What is the significance of the shebang line in shell scripting?
What is in a script?
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 is a shell made of?