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

Re: [LONG] RH refugee comments & questions



* Monte Milanuk (milanuk@nwinternet.com) [030415 16:23]:
> This is one of those things that I'm interested in myself.  In something 
> like SuSE or RedHat, I'd just go in and issue a command of something 
> like /etc/rc.d/init.d/nfsserver restart to shut down and restart the 
> server w/ new config file.   SuSE had a handy shortcut where a body 
> could just type 'rcnfsserver restart' w/o having to type out the full 
> path or cd to that directory and do the same thing.  What would be the 
> equivalent in Debian (of the full path command)?

So say this:

rc=/etc/init.d

and then you can use

$rc/nfsserver restart

if '/etc/init.d' is too much typing for you.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
#include<stdio.h>
int main() {
    puts("Reader! Think not that \n"
         "technical information \n"
         "ought not be called speech;");
    return 0;
}

Attachment: pgpioGhyVSeo1.pgp
Description: PGP signature


Reply to: