man echo works. but out of curiosity, does echo have something similar to a
Assuming you are using bash,
The information you see when you run
To learn bash, read http://mywiki.wooledge.org/BashGuide
There are two
The built-in (this is the default one) hasn't any help options far beyond the
In the executable version instead
Other way would be using whatis bash command for example.
According to Whatis manpage , it displays manual page descriptions. Such as
For Commands brief parameters or options try
Another excellent source is Ubuntu Manuals a.k.a manpage, just type to search what you want.
A suggestion if you try whatis in terminal and press Tab key successfully it will show
You can experiment depending on above possibilities.
Also there is apropos similar to
You can also use whereis to locate the binary, source, and manual page files of a command as
You can refer this Extensive and excellent source at Ubuntu Command Line Wiki page such as [7. Beginners/BashScripting].
For External Source refer
An A-Z Index of the Bash command line for Linux explaining examples and Usage .
You could use the help command, as this is a bash builtin, this is a lot of help while scripting
This banner is followed by a list of commands, as indicated in the banner. Try out
and I think you'll see that this is a nice, concise description of the application of the shell command