I'm trying to run a grep command on remote system to give me the result for May 22. But reply comes
/bin/grep: /var/log/Clients_Logs/127.0.0.1/*: No such file or directory
But when I specifically provide the filename, it works and gives me the results.
This command gives me an error
ssh -tt emerg@xxx.xxx.xxx.xxx 'sudo /bin/grep -r "May 22" /var/log/Clients_Logs/127.0.0.1/*'