Hi, in 10.4.11, there was an older version of Xupport that had a Man Viewer, or you can see all the commands in this directory...
And in Terminal do man [space] whatever, here's the list on my 10.4.11 Mac...
The commands are be scattered around the hd. A command is any file with the execution bit set on.
The best way to go is to go to your local library and find any book on unix or bash. There will be some difference between what you read and what is available in X. the man command should key you in on the differences.
A book on Bash would be helpful.
Here is the book that I use:
Mac OS X Tiger in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
This is also good & was in my local library.
Practical Guide to Linux Commands, Editors, and Shell Programming, A (2nd Edition) [Paperback] the book Don't be fooled by the name, the second addition includes Mac OS X.
Advanced Bash Script. premise: Examples for everything. I have revision 6.2.
BASH Programming - Introduction HOW-TO
Apple administrative commands
Apple Shell Scripting Primer
Check you local library. Any book on Bash syntax will do. There will be minor differences but they will not be great.
Sometimes you can get a good deal on used books in Amazon.
Bash Cookbook, Carol Albing, JP Vossen & Cameron Newham (O'Reilly)
I was being a little flippant about a command includes anything with the execution bit on.
The point being is that commands are not precisely defined when it comes to an individual user or system.
I better list of commands would be what is defined by man pages. To see the types of man pages see:
see 1, 6, and 8.
# All man pages for 1 man pages -- Executable programs or shell commands # You do not have to have a man page for a command . Probably all from Apple do. me $ pwd /usr/share/man/man1 # There are 2,248 man pages. me $ ls -l | wc -l - 2248 - me $ cd .. /usr/share/man # Here are the other types of man pages. me $ ls ca/ en/ hr/ ko/ man2/ man4/ man6x/ man9/ pl.UTF-8/ ru/ zh/ cs/ eo/ hu/ man0p/ man2x/ man4x/ man7/ man9x/ pt/ sk/ zh_CN/ da/ es/ id/ man1/ man3/ man5/ man7x/ mann/ pt_BR/ sv/ zh_TW/ de/ fr/ it/ man1p/ man3p/ man5x/ man8/ nl/ pt_PT/ tr/ de.UTF-8/ fr.UTF-8/ ja/ man1x/ man3x/ man6/ man8x/ pl/ ro/ uk/ me $
You may have gotten too much. Did you include the translations? like de, es, fr?
Anyway, we are getting carried away.
I was pointing out the Original Poster was making the wrong request. You become familiar with a basic set of commands like what you first posted. You then pick up the rest when needed. Usually, I find what I need via an internet search or post.
Surprisingly, this may work:
find /usr/share/man* | wc -l