[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Automated commands



On Fri, 30 Mar 2001, Douglas Spooner wrote:

} lets say I wanna automate this function and probably others
}
} /usr/bin/makemap hash /etc/virtusertable < /etc/virtusertable

Open vi or pico or whatever. Create file named according to your
needs. On the first line of that file put the following line:

#!/bin/sh
<put command here>

	Replace <put command here> with the command you wish to run
- exactly as you would type it at the prompt - make sure you use the
full path.

	.bat files on steroids... be careful...