[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:

} Where do I store the file? In the user profile?
} What file extension do I give it?

The file extension does not matter. I personally prefer to use an
extension which indicates the file type, in this case I'd thusly use
<filename.sh>

You need to set it executable for it to run: chmod +x <filename>

Where you put it depends upon what you want to do with it. If
they're just for me, I dump them in my user account. I don't work
much out of my user accounts on our Cobalts so I can't say for sure,
but you might have to do a:  ./filename  to get it to execute in a
Cobalt user account. If it's for system wide usage, dump it in /bin

	On our cobalts I perfer to create a seperate directory in
/usr/local/ for our stuff. The reason is I can backup the directory
and delete it in the event warrenty service is needed, then
re-install it when Cobalt is done. You might consider doing
something similar. There are a few nuances, when you bump into them
post a question to the list.

	Be very careful though. You could possibly provide users
with access to something they shouldn't be messing with.