Become RedHat Certified with updated EX200 exam questions and correct answers
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
On ServerA, create a Bash script named /script.sh that outputs the second argument followed by the first argument when executed with two arguments (e.g., "test2 test1" for ./script.sh test1 test2).
On ServerB, write a shell script “sum.sh” in the root directory that takes an unspecified number of command-line arguments of ints and finds their sum. To add a number to the sum it must be greater than 0.
You've forgotten the root password for ServerA. Reset the root password to "word" to regain access to the system.
On ServerA, write a script named “/users_shells.sh” that generates a list of usernames from /etc/passwd along with their login shell.
© Copyrights DumpsCertify 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.