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


Please Help Members By Posting Answers For Below Questions

How to print pid of the current shell?

604


What is in a script?

572


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

599


Is shell scripting a programming language?

579


Write down the syntax of "for " loop

609






What is batch file programming?

696


What is the first line in every perl script called?

558


What is web script?

586


Write the syntax for "if" conditionals in linux?

598


What does echo mean in scripting?

592


What is .sh file in mac?

561


how will you find the total disk space used by a specific user?

582


What are the advantages of shell scripting?

585


What is inside a seashell?

644


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

556