Why do some commands have man pages and other commands use –help?
Wouldn’t it be more consistent if one of these always worked?
Wouldn’t it be more consistent if one of these always worked?
I have no idea about how I can make my home-grown specialist scripts (written mostly in Bash and Perl) available through the man pages.
I’m having difficulty locating a comprehensive up-to-date list of error codes from Bash. e.g.:
After downloading the source code for Bash, I was browsing through the doc directory and came across the following files:
This answer reveals that one can copy all files – including hidden ones – from directory src into directory dest like so:
Sometimes I need to look up certain words through all the manual pages. I am aware of apropos, but if I understand its manual right, it restricts search to the descriptions only.
Manpage of ss says:
So in a recent fit of folly, I followed the instructions in this answer on the Ubuntu SE page since I wanted to remove most of the documentation. However, I didn’t read the commands well enough and missed that that those would also remove the man pages, which I didn’t want.
Typing man alias gives me
I found out it’s possible to show the output of the ls command vertically using the -1 switch: