Re: Using terminal commands - corner cases

2024-12-02 Thread debian-user
David Wright wrote: > Funnily enough, I'd never even thought about page numbering in > connection with man pages. But I notice now that the page contents > of my Letter PDF and Debian's A4 version are identical, and the > footers on the A4 are very high, so I'm guessing that the document > was o

Re: Using terminal commands - corner cases

2024-12-02 Thread Michael Paoli
>From most, shells, e.g. bash, dash, most or all POSIX shells, you can type: type name_of_command And it'll generally tell you what/where that command comes from, or if it's an alias, etc. E.g. from either bash or dash: $ type cd cd is a shell builtin $ So then you could look it up in the relevant

Re: Using terminal commands - corner cases

2024-12-01 Thread David Wright
On Sat 30 Nov 2024 at 22:10:32 (+0700), Max Nikulin wrote: > On 30/11/2024 01:29, David Wright wrote: > > On Thu 28 Nov 2024 at 21:52:05 (+0700), Max Nikulin wrote: > > > On 28/11/2024 11:13, David Wright wrote: > > > > $ man -t bash | ps2pdf - /tmp/bash.pdf > > > > > > /usr/share/doc/bash-doc

Re: Using terminal commands - corner cases

2024-11-30 Thread Max Nikulin
On 30/11/2024 01:29, David Wright wrote: On Thu 28 Nov 2024 at 21:52:05 (+0700), Max Nikulin wrote: On 28/11/2024 11:13, David Wright wrote: $ man -t bash | ps2pdf - /tmp/bash.pdf /usr/share/doc/bash-doc/bash.pdf /usr/share/doc/bash-doc/bashref.pdf ¹ With Letter size in xpdf, I press 3

Re: Using terminal commands - corner cases

2024-11-29 Thread David Wright
On Thu 28 Nov 2024 at 21:52:05 (+0700), Max Nikulin wrote: > On 28/11/2024 11:13, David Wright wrote: > >$ man -t bash | ps2pdf - /tmp/bash.pdf > > What is the point in converting man when the same content is available > as texinfo source? Moreover, PDF file is ready to use: > > /usr/share/do

Re: Using terminal commands - corner cases

2024-11-28 Thread Erwan David
On Thu, Nov 28, 2024 at 04:12:05PM CET, Richard Owlett said: > On 11/28/24 8:52 AM, Max Nikulin wrote: > > On 28/11/2024 11:13, David Wright wrote: > > >    $ man -t bash | ps2pdf - /tmp/bash.pdf > > > > What is the point in converting man when the same content is available > > as texinfo source

Re: Using terminal commands - corner cases

2024-11-28 Thread Richard Owlett
On 11/28/24 8:52 AM, Max Nikulin wrote: On 28/11/2024 11:13, David Wright wrote:    $ man -t bash | ps2pdf - /tmp/bash.pdf What is the point in converting man when the same content is available as texinfo source? Moreover, PDF file is ready to use: /usr/share/doc/bash-doc/bash.html /usr/sha

Re: Using terminal commands - corner cases

2024-11-28 Thread Max Nikulin
On 28/11/2024 11:13, David Wright wrote: $ man -t bash | ps2pdf - /tmp/bash.pdf What is the point in converting man when the same content is available as texinfo source? Moreover, PDF file is ready to use: /usr/share/doc/bash-doc/bash.html /usr/share/doc/bash-doc/bash.pdf /usr/share/doc/b

Re: Using terminal commands - corner cases

2024-11-28 Thread Richard Owlett
On 11/27/24 10:13 PM, David Wright wrote: On Wed 27 Nov 2024 at 05:38:30 (-0600), Richard Owlett wrote: I've used terminal commands for so many decades I don't know where to look up fine details of a specific commands. I just tried to use the cd command with a target directory having spaces in

Re: help, man, etc. (was: Re: Using terminal commands - corner cases)

2024-11-27 Thread tomas
On Thu, Nov 28, 2024 at 09:34:24AM +0700, Max Nikulin wrote: > On 27/11/2024 23:59, to...@tuxteam.de wrote: > > OTOH, the venerable groff has gained a hyperlink markup > > recently [1] ("recently" in its time scale), thus bridging yet another > > gap separating man and info. > > Does it affect "ma

Re: Using terminal commands - corner cases

2024-11-27 Thread David Wright
On Wed 27 Nov 2024 at 05:38:30 (-0600), Richard Owlett wrote: > I've used terminal commands for so many decades I don't know where to > look up fine details of a specific commands. > > I just tried to use the cd command with a target directory having > spaces in it's name. Of course the system res

Re: help, man, etc. (was: Re: Using terminal commands - corner cases)

2024-11-27 Thread Max Nikulin
On 27/11/2024 23:59, to...@tuxteam.de wrote: OTOH, the venerable groff has gained a hyperlink markup recently [1] ("recently" in its time scale), thus bridging yet another gap separating man and info. Does it affect "man" when called in a terminal application (so usually "less" is used as a pa

Re: help, man, etc. (was Re: Using terminal commands - corner cases)

2024-11-27 Thread tomas
On Wed, Nov 27, 2024 at 12:24:25PM -0500, The Wanderer wrote: > On 2024-11-27 at 11:59, to...@tuxteam.de wrote: > > > On Wed, Nov 27, 2024 at 10:40:44AM -0500, The Wanderer wrote: > > > >> On 2024-11-27 at 09:28, to...@tuxteam.de wrote: > > >>> And yes, it's a pity there is no common frontend fo

Re: help, man, etc. (was Re: Using terminal commands - corner cases)

2024-11-27 Thread The Wanderer
On 2024-11-27 at 11:59, to...@tuxteam.de wrote: > On Wed, Nov 27, 2024 at 10:40:44AM -0500, The Wanderer wrote: > >> On 2024-11-27 at 09:28, to...@tuxteam.de wrote: >>> And yes, it's a pity there is no common frontend for both. > [help and man] >> There's also 'info foo', which for some values

Re: help, man, etc. (was Re: Using terminal commands - corner cases)

2024-11-27 Thread tomas
On Wed, Nov 27, 2024 at 11:03:48AM -0500, Greg Wooledge wrote: > On Wed, Nov 27, 2024 at 10:40:44 -0500, The Wanderer wrote: > > One of the items on the list, under the characteristics of a > > "knowledgeable user", is the entry: > > > > * has learned that learn doesn't help > > > > I have never

Re: help, man, etc. (was Re: Using terminal commands - corner cases)

2024-11-27 Thread tomas
On Wed, Nov 27, 2024 at 10:40:44AM -0500, The Wanderer wrote: > On 2024-11-27 at 09:28, to...@tuxteam.de wrote: [...] > > And yes, it's a pity there is no common frontend for both. [help and man] > > There's also 'info foo', which for some values of foo will be more > helpful than either of the

Re: help, man, etc. (was Re: Using terminal commands - corner cases)

2024-11-27 Thread Greg Wooledge
On Wed, Nov 27, 2024 at 10:40:44 -0500, The Wanderer wrote: > One of the items on the list, under the characteristics of a > "knowledgeable user", is the entry: > > * has learned that learn doesn't help > > I have never managed to find out what 'learn' is supposed to have been. > No Linux or othe

Re: Using terminal commands - corner cases

2024-11-27 Thread Chris Green
Eric S Fraga wrote: > And, just for the record, should you want to find out more about > commands on Linux without leaving your system (i.e. without any > interaction with the Internet at all), the man command is available to > present the manual pages (dates back to when there was an actual manua

help, man, etc. (was Re: Using terminal commands - corner cases)

2024-11-27 Thread The Wanderer
On 2024-11-27 at 09:28, to...@tuxteam.de wrote: > On Wed, Nov 27, 2024 at 02:18:02PM +, Eric S Fraga wrote: > >> And, just for the record, should you want to find out more about >> commands on Linux without leaving your system (i.e. without any >> interaction with the Internet at all), the ma

Re: Using terminal commands - corner cases

2024-11-27 Thread Yassine Chaouche
Le 11/27/24 à 15:18, Eric S Fraga a écrit : [...] the man command is available to present the manual pages There are also the fine info pages for most gnu software, notably the coreutils, and the /usr/share/doc directory for most other software. Best, -- yassine -- sysadm +213-779 06 06 23 h

Re: Using terminal commands - corner cases

2024-11-27 Thread Greg Wooledge
On Wed, Nov 27, 2024 at 12:55:10 +0100, to...@tuxteam.de wrote: > First: cd is not a command, it is a shell builtin > (this is subtle, but important). It's both. You can even call it a "builtin command". > Second: even if cd were a "command", the splitting > of args at whitespace (among *a lot*

Re: Using terminal commands - corner cases

2024-11-27 Thread Richard Owlett
On 11/27/24 7:36 AM, to...@tuxteam.de wrote: On Wed, Nov 27, 2024 at 07:30:17AM -0600, Richard Owlett wrote: [...] Thank you. I've seen his site before. I just created a bookmark folder for "Debian Wikis". The first occupant is https://mywiki.wooledge.org . Greg's wiki is a jewel. I thank *h

Re: Using terminal commands - corner cases

2024-11-27 Thread Joe
On Wed, 27 Nov 2024 14:36:44 +0100 wrote: > On Wed, Nov 27, 2024 at 07:30:17AM -0600, Richard Owlett wrote: > > [...] > > > Thank you. I've seen his site before. I just created a bookmark > > folder for "Debian Wikis". The first occupant > > is https://mywiki.wooledge.org . > > Greg's wiki i

Re: Using terminal commands - corner cases

2024-11-27 Thread tomas
On Wed, Nov 27, 2024 at 02:18:02PM +, Eric S Fraga wrote: > And, just for the record, should you want to find out more about > commands on Linux without leaving your system (i.e. without any > interaction with the Internet at all), the man command is available to > present the manual pages (dat

Re: Using terminal commands - corner cases

2024-11-27 Thread Eric S Fraga
And, just for the record, should you want to find out more about commands on Linux without leaving your system (i.e. without any interaction with the Internet at all), the man command is available to present the manual pages (dates back to when there was an actual manual in early unix days) for ind

Re: Using terminal commands - corner cases

2024-11-27 Thread tomas
On Wed, Nov 27, 2024 at 07:30:17AM -0600, Richard Owlett wrote: [...] > Thank you. I've seen his site before. I just created a bookmark folder for > "Debian Wikis". The first occupant is https://mywiki.wooledge.org . Greg's wiki is a jewel. I thank *him* for it. > I've been a computer *user* fo

Re: Using terminal commands - corner cases

2024-11-27 Thread Richard Owlett
On 11/27/24 5:55 AM, to...@tuxteam.de wrote: On Wed, Nov 27, 2024 at 05:38:30AM -0600, Richard Owlett wrote: I've used terminal commands for so many decades I don't know where to look up fine details of a specific commands. I just tried to use the cd command with a target directory having space

Re: Using terminal commands - corner cases

2024-11-27 Thread tomas
On Wed, Nov 27, 2024 at 05:38:30AM -0600, Richard Owlett wrote: > I've used terminal commands for so many decades I don't know where to look > up fine details of a specific commands. > > I just tried to use the cd command with a target directory having spaces in > it's name. Of course the system r

Using terminal commands - corner cases

2024-11-27 Thread Richard Owlett
I've used terminal commands for so many decades I don't know where to look up fine details of a specific commands. I just tried to use the cd command with a target directory having spaces in it's name. Of course the system responded > bash: cd: too many arguments DuckDuckGo led to [