write a non recursive shell script that accepts any number
of arguments and prints them in the reverse order
Answer Posted / naresh babu
echo "no of arguments:$#"
echo "arguments in reverse order:"
for i in $*
do
j=$i" "$j
done
echo $j
Is This Answer Correct ? | 26 Yes | 9 No |
Post New Answer View All Answers
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 ?
What does $@ mean bash?
How will you find the 99th line of a file using only tail and head command?
What does $0 mean in shell script?
How will you print the login names of all users on a system?
What are the different variables present in linux shell?
Where are cowrie shells found?
How do I run a script from command prompt?
Explain about shebang?
Is shell a part of kernel?
Why are there shells on the beach?
what is tickets $ what low,medium,high priorite pls define time also
How will you connect to a database server from linux?
How do I edit a .sh file?
How can you get the value of pi till a 100 decimal places?