Are there any standards for aliasing sudo /etc/init.d/? I'm sure many people have considered cutting down these 17 characters to just 2 or so.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||
|
|
On Linux with SysVinit (the traditional init implementation), the
I recommend keeping |
|||
|
|
|
Something to consider, most systems have the "service" command, that could replace the /etc/init.d/ portion of your sudo command. You could do for example:
example: (pay no attention to the root behind the curtain)
|
||||
|
|
|
Have a look at the this snippet in Grmls zshrc. It defines 5 function |
|||
|
|