RedHat EX300 Question Answer
There were two systems:
system1, main system on which most of the configuration take place
system2, some configuration here
Script1.
Create a script on serverX called /root/random with the following details
When run as /root/random postconf, should bring the output as “postroll”
When run as /root/random postroll, should bring the output as “postconf”
When run with any other argument or without argument, should bring any other argument or without argument, should bring the stderr as “/root/random postconf|postroll”