Re: should "kill --list" actually work on my f20 system? [NEVER MIND]

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

 



On Sat, 1 Mar 2014, Joachim Backes wrote:

> On 03/01/2014 01:06 PM, poma wrote:
> > On 01.03.2014 12:51, Robert P. J. Day wrote:
> >> On Sat, 1 Mar 2014, Robert P. J. Day wrote:
> >>
> >>>
> >>>   first time i noticed this -- was demonstrating the "kill" command in
> >>> a training course this week, showed "kill -l", had students check man
> >>> page for "kill" which suggested that "kill --list" should also work,
> >>> but:
> >>>
> >>> $ kill --list
> >>> bash: kill: -list: invalid signal specification
> >>> $
> >>>
> >>>   am i doing something wrong? man page also suggests:
> >>>
> >>>   -L, --table
> >>>         Similar  to  -l,  but  will print signal names and their corresponding
> >>>         numbers.
> >>>
> >>>   but:
> >>>
> >>> $ kill -L
> >>> bash: kill: L: invalid signal specification
> >>> $
> >>>
> >>>   should those work? am i missing something? is it a bug?
> >>
> >>   argh ... just noticed that, by default, "kill" is a shell builtin so
> >> i'm getting the builtin rather than the command.
> >>
> >> rday
> >>
> >
> > Yep! :)
> >
> > $ type kill
> > $ type $(which kill)
> > $ builtin kill
> > $ builtin $(which kill)
> > $ $(which kill) -L
> > $ man 1 builtins

  oh, once i twigged on what was happening, i was fine; i just can't
believe i'd never noticed it all these years.  always a learning
experience ...

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux