Shell Script: SFTP a File Programming

Shell Script: SFTP a File

Sometimes instead of executing a built in command on a remote system you need to upload a script that you will need to execute.  Again a simple expect script comes to our rescue to upload a file to a remote system. [crayon-5c4695f3a8db8671200…
Shell Script: Execute Command Programming

Shell Script: Execute Command

Often we need to connect to a remote machine and execute a command. If that system is Unix/Linux then with a simple script this becomes very easy to create a command line script to handle this for us: [crayon-5c4695f3a9515950654335/] Usage: e…