In a Korn shell, I want to test whether a file exists on a remote shell. If I use
ssh <Remote server> ls abc
It gives file proper result, but unable to capture in the script.
Any help?
Thanks
In a Korn shell, I want to test whether a file exists on a remote shell. If I use
ssh <Remote server> ls abc
It gives file proper result, but unable to capture in the script.
Any help?
Thanks
Tried:
ssh <hostname> ls >$HOME/ssh_out.log
yet?
Thanks. I was missing $HOME.
You welcome...