Quantcast
Channel: Append current timestamp on files name from background running command - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by terdon for Append current timestamp on files name from background...

Whether the command is backgrounded or not is irrelevant, all you need to do is add the output of a date call to the file names you are creating. Using the exact same syntax as in your question, you...

View Article


Append current timestamp on files name from background running command

Following is command that I have used in bash script and it is run on background: sshpass -p prakash12 ssh -t -p $1 prakash@localhost './test_new_update_script.sh > /home/log/unit_update_output.log...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>