Re: Random thoughts. (Was Stuff)

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

 



On Sat, 3 Nov 2007, Mikkel L. Ellertson wrote:

> You can get a list of the supported commands by using an invalid
> option. I like "service <name> help" as in:
>
> # service smb help
> Usage: /etc/init.d/smb {start|stop|restart|reload|status|condrestart}

or you could just leave the option out entirely, to get exactly the
same result:

  # service smb
  Usage: /etc/init.d/smb {start|stop|restart|reload|status|condrestart}

heh.  top *that*.

rday

p.s.  i am a little annoyed that the usage message doesn't reflect how
you invoked that feature, instead referring to "/etc/init.d/smb".
that's bound to confuse a few people who will have no idea what it's
referring to.
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux