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 it's name. Of course the system responded
> bash: cd: too many arguments
DuckDuckGo led to [
https://bash.cyberciti.biz/guide/Cd_command#Dealing_with_directories_with_white_space_in_their_names
].
Problem solved. But is there somewhere to go directly without a web search?
Well, it strikes me that, with the exception of Greg's, all these
posts are about man, info, help, etc., which you probably know
about already, whereas what your error above shows is that you
need some passing knowledge of the contents of man bash.
If you find that rather dry and indigestible, you might try running:
$ wget http://folk.ntnu.no/geirha/bashguide.pdf
Quick browse - looks very interesting, especial the reference links.
Will read after a night's sleep ;/
which gives you a guide that's designed more for reading than
as a reference document.
BTW I find large man pages a little more navigable by running, eg:
$ man -t bash | ps2pdf - /tmp/bash.pdf
though that might not be suitable for the OP.
Having it in PDF format has some of the convenience I associate wit HTML
documents.
Thank you for both references.
Cheers,
David.