If you have a local script file and want to run the script on another server use the following : ssh root@torino.maranello.local ‘bash -s’ < script_local.sh Enjoy 🙂
Cool way to run a script on a remote machine
Posted on
If you have a local script file and want to run the script on another server use the following : ssh root@torino.maranello.local ‘bash -s’ < script_local.sh Enjoy 🙂
After you build your custom ~/.bash_profile when you use screen it skips the customizations in the ~/.bash_profile file. Try to edit .screenrc and then add shell -$SHELL
We all had the problem of needing to backup a folder or an entire system from a machine before decommissioning or as a postfix backup solution only to find tarring aint gonna work cause you have very little space left. Also there are folders you want to avoid tarring since they contain logs or system…