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.

VN:F [1.9.11_1134]
Rate this post:
Rating: 0.0/10 (0 votes cast)
source, 7.0 out of 10 based on 1 rating

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.

Bad Behavior has blocked 37976 access attempts in the last 7 days.

© 2009-2012 Chris Kranz All Rights Reserved
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.