I try to display the help pages of unset
command line , i get as a result the following output:
No manual entry for unset
I see this issue since they are similar , however , it cannot be solution for this issue . Indeed , that issue has been resolved by installing some packages using this cmd :
sudo apt-get install manpages-posix manpages-posix-dev
So , i try to do the same thing ;except modifying posix by unset , so i do this :
sudo apt-get install manpages-unset
The result was :
Unable to locate package manpages-unset
As
set
andunset
are shell builtins you need to use thehelp
command to get their detailed help:set
andunset
is not third party binaries. They are Shell Builtins. This means that they are 'inside' shell. If you are using bash, you can runtype
to check it.Quote from Bash Reference:
To find manual for
unset
just runman bash
. Or you can find information here.The command
unset
a shell builtin ofbash
- so it's in the man page ofbash
.Also, you get a shorter description with the command
help
- oftenhelp unset
may explain what you need.To find it in the man page, find it in the section "SHELL BUILTIN COMMANDS" manually, or search for
unset \[
.Or, if you want, all in one command, for this special case:
man bash | less -p 'unset \['
The section for unset from
man bash
"SHELL BUILTIN COMMANDS":(From man page of bash 4.3 on Ubuntu 14.4)
Refer ss64: