We have defined home folders for a user in multiple machines. But the home folder is missing in one of the servers. How can I find out which server is missing the home folder?
for example, user name is: my_user
there are servers: host1, host2, host3, host4
/home/my_user is missing in one of the machines.
Maybe something like:
for host1, host2, host3; etc etc
Use a
forloop withsshas shown below: