source
February 7th, 2009
source <filename>
This will read and process the contents of whatever file you point to it. So if the filename is full of commands (for arguments sake /etc/rc), running source on it (“source /etc/rc”) would run all the commands.
If you have a series of commands that need to be run regularly, this would be a very efficient way of scripting this, just one ssh command could execute a whole series of commands.









































