All Questions
2
questions
0
votes
1
answer
797
views
Date command is not working in remote server when running using a script
I am running below command from a script from a remote server, but getting error No such file or directory
ssh -t -t [email protected] \"sudo mysql nss_mysql < /home/user/scripts/Db_nss_mysql-`date ...
1
vote
1
answer
696
views
date doesn't accept its own output
What is the option for date to give output in a format acceptable to date --set ?
I'm trying to remotely set the date, using the current computer clock of my workstation.
ssh user@host sudo date --...