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

[cobalt-users] Automated commands



Hello,
      This may sound a bit stupid but I am looking for a way to automate
certain functions I do. Its kinda like a batch file on a windows system it
just saves me typing stuff in over and over again.

lets say I wanna automate this function and probably others

/usr/bin/makemap hash /etc/virtusertable < /etc/virtusertable

So lets say I am at the command prompt and I just type makemehash it then
runs the above.
I run quite a lot of commands like this and some of them very long I was
just wondering if there was a way of saving myself typing this out each time
I log in, and yes I know about the Tab function for completeing the
sentacnes :)

Thanks


Doug