Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #180589
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] |
| Date | 2017-05-01 21:40 +0200 |
| Message-ID | <tCpkS-4KF-33@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <tAuf0-2dU-33@gated-at.bofh.it> <tAuoG-2hj-15@gated-at.bofh.it> <tAuI2-2oF-9@gated-at.bofh.it> <tCo5s-44r-15@gated-at.bofh.it> <tCoyu-4dM-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon 01 May 2017 at 14:48:13 (-0400), Greg Wooledge wrote: > On Mon, May 01, 2017 at 01:18:58PM -0500, David Wright wrote: > > They do. Both expect a command. You can "show" something but you can't > > "dev" it or, at least, I don't know how to. > > The surprise comes from the fact that typically you can add "dev eth0" > to the end of one working ip command, to get another working ip command > which is restricted to that one interface -- but not always. > > ip addr show (working) > ip addr show dev eth0 (working) > > But > > ip addr (working) > ip addr dev eth0 (NOT working) > > And > > ip -s link show (working) > ip -s link show dev eth0 (working) > > But > > ip -s link (working) > ip -s link dev eth0 (NOT working) > > Apparently, in order to understand why half of the commands work and > half do not, you have to somehow figure out that you're currently using > a command with an assumed verb, and that this makes a difference, in > some way, if you try to add words that follow the assumed verb. Like, > "the verb is only added if the parser runs out of words" or something. I'd assumed that the presumption of "show [everything]" was there because non-root users can do little else, and I don't think you can omit/assume any other verb. cf mount. > The inconsistency is quite confusing, especially if you haven't > scientifically attempted EVERY combination of words yet, to see which > combinations work and which do not, in order to analyze it for patterns > and infer the actual grammar rules. Sure, but who would prefer "ip link" to give you a load of its BNF rather than assuming you meant show. "ip" does give you BNF, it's true, but with such a flexible command, where to start. "ip nt" already fills the screen; only 16 more object types to go. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-23 12:30 +0200
Re: Measuring aggregate internet useage? Dan Purgert <dan@djph.net> - 2017-04-24 11:40 +0200
Re: Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-24 13:00 +0200
Re: Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-24 13:20 +0200
Re: Measuring aggregate internet useage? rhkramer@gmail.com - 2017-04-24 13:20 +0200
Re: Measuring aggregate internet useage? Ben Caradoc-Davies <ben@transient.nz> - 2017-04-24 23:20 +0200
Re: Measuring aggregate internet useage? Richard Owlett <rowlett@cloud85.net> - 2017-04-25 15:20 +0200
BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Richard Owlett <rowlett@cloud85.net> - 2017-04-26 14:20 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Darac Marjal <mailinglist@darac.org.uk> - 2017-04-26 14:30 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-26 14:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Darac Marjal <mailinglist@darac.org.uk> - 2017-04-26 15:00 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] <tomas@tuxteam.de> - 2017-04-26 15:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Richard Owlett <rowlett@cloud85.net> - 2017-04-26 16:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-04-26 17:10 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Jörg-Volker Peetz <jvpeetz@web.de> - 2017-04-26 17:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Lisi Reisz <lisi.reisz@gmail.com> - 2017-04-26 17:10 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Richard Owlett <rowlett@cloud85.net> - 2017-04-26 22:30 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] <tomas@tuxteam.de> - 2017-04-27 08:50 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Fungi4All <fungilife@protonmail.com> - 2017-04-27 20:30 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 21:00 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 20:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 20:20 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-01 20:50 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] David Wright <deblis@lionunicorn.co.uk> - 2017-05-01 21:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Brian <ad44@cityscape.co.uk> - 2017-04-26 14:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Ric Moore <wayward4now@gmail.com> - 2017-04-26 16:10 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-26 16:20 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Ric Moore <wayward4now@gmail.com> - 2017-04-26 16:30 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-04-26 16:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Curt <curty@free.fr> - 2017-04-26 18:00 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] <tomas@tuxteam.de> - 2017-04-26 16:40 +0200
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?] Jochen Spieker <ml@well-adjusted.de> - 2017-04-26 14:40 +0200
csiph-web