user784637 Asked: 2011-12-05 15:42:16 +0800 CST2011-12-05 15:42:16 +0800 CST 2011-12-05 15:42:16 +0800 CST Where can I find the man page for the set command? 772 $ set frog pets $ echo $1_$2 frog_pets man set is not bringing me anything =( neither is which set or whereis set command-line 1 Answers Voted Best Answer fossfreedom 2011-12-05T15:53:25+08:002011-12-05T15:53:25+08:00 set is a bash shell command If you type man bash and then search for /abef should move to the section that describes set and the various available. To confirm that you are using a shell built command you can run: type command if the message command is a shell builtin is the output, then you can find the help for these types of commands via help [shell_command] for example: help set As an added bonus you can pipe the output into either more or pager to enable page-by-page scrolling i.e. help | more or help | pager (with thanks @psusi & @eljunior & @andrewsomething)
set
is a bash shell commandIf you type
man bash
and then search for/abef
should move to the section that describesset
and the various available.To confirm that you are using a shell built command you can run:
if the message
command is a shell builtin
is the output, then you can find the help for these types of commands viafor example:
As an added bonus you can pipe the output into either
more
orpager
to enable page-by-page scrolling i.e.or
(with thanks @psusi & @eljunior & @andrewsomething)