I have a file name like
/etc/auto.abc on server 1
/etc/auto.def on server 2
/etc/auto.ghi on server 1
I am writing a single script for all servers and in that I want to cat the file.
Example: cat /etc/auto.abc
or /etc/auto.def
or /etc/auto.ghi
. It should able to take the file which is present.
Thanks,