|
*rofl* In your first post you didn't say which shell you were using, however you did mention putting the alias in .cshrc which is a standard startup file for csh. I therefore jumped to the conclusion that you are using csh or tcsh or some other csh clone. Putting bash aliases in .cshrc is rather unusual, but I guess you have customized your environment. Oh well, most people freak when they see my environment too...
bash has wimpy aliases and you can't constuct a bash alias to do this. You will need to use a function, like this:
fire() { /etc/rc.d/init.d/$* ; }
Most bash users would add that .bash_profile or .bash_rc or something like that. But, ummm, I'll leave it up to you where to install this.
|