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.

Undocumented Commands , , ,

  1. No comments yet.
  1. No trackbacks yet.

This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.
%d bloggers like this: