Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise #4-reverse.sh-version #2 We want to improve the above reverse.sh script by allowing it to display the two parameters, still in reverse order, but on
Exercise #4-reverse.sh-version #2 We want to improve the above reverse.sh script by allowing it to display the two parameters, still in reverse order, but on the same line. Here is an example of how it would be used; tux@LinuxBox ? /reverse. sh first next next first tux@LinuxBox > Please note the following; We want a space between the two parameters We do not want the next shell prompt to be on the same line than the parameters We could get this done by using a single echo statement but we already practiced this so avoid it here Instead, still use two echo statements, one to display each parameter, but search the manpage for details on how to use echo -n
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started