1.\" 2.\" Copyright (c) 1999 Sheldon Hearn 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\"
| 1.\" 2.\" Copyright (c) 1999 Sheldon Hearn 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\"
|
37.Nm bindkey , 38.Nm break , 39.Nm breaksw , 40.Nm builtins , 41.Nm case , 42.Nm cd , 43.Nm chdir , 44.Nm command , 45.Nm complete , 46.Nm continue , 47.Nm default , 48.Nm dirs , 49.Nm do , 50.Nm done , 51.Nm echo , 52.Nm echotc , 53.Nm elif , 54.Nm else , 55.Nm end , 56.Nm endif , 57.Nm endsw , 58.Nm esac , 59.Nm eval , 60.Nm exec , 61.Nm exit , 62.Nm export , 63.Nm false , 64.Nm fc , 65.Nm fg , 66.Nm filetest , 67.Nm fi , 68.Nm for , 69.Nm foreach , 70.Nm getopts , 71.Nm glob , 72.Nm goto , 73.Nm hash , 74.Nm hashstat , 75.Nm history , 76.Nm hup , 77.Nm if , 78.Nm jobid , 79.Nm jobs , 80.Nm kill , 81.Nm limit , 82.Nm log , 83.Nm login , 84.Nm logout , 85.Nm ls-F , 86.Nm nice , 87.Nm nohup , 88.Nm notify , 89.Nm onintr , 90.Nm popd , 91.Nm printenv , 92.Nm pushd , 93.Nm pwd , 94.Nm read , 95.Nm readonly , 96.Nm rehash , 97.Nm repeat , 98.Nm sched , 99.Nm set , 100.Nm setenv , 101.Nm settc , 102.Nm setty , 103.Nm setvar , 104.Nm shift , 105.Nm source , 106.Nm stop , 107.Nm suspend , 108.Nm switch , 109.Nm telltc , 110.Nm test , 111.Nm then , 112.Nm time , 113.Nm trap , 114.Nm true , 115.Nm type , 116.Nm ulimit , 117.Nm umask , 118.Nm unalias , 119.Nm uncomplete , 120.Nm unhash , 121.Nm unlimit , 122.Nm unset , 123.Nm unsetenv , 124.Nm until , 125.Nm wait , 126.Nm where , 127.Nm which , 128.Nm while 129.Nd shell builtin commands 130.Sh SYNOPSIS 131.Nm 132.Op Fl options 133.Op Ar args ... 134.Sh DESCRIPTION 135Shell builtin commands are commands that can be executed within the 136running shell's process. 137Note that, in the case of 138.Xr csh 1 139builtin commands, the command is executed in a subshell if it occurs as 140any component of a pipeline except the last. 141.Pp 142If a command specified to the shell contains a slash 143.Dq \&/ , 144the shell will not execute a builtin command, even if the last component 145of the specified command matches the name of a builtin command. 146Thus, while specifying 147.Dq Ic echo 148causes a builtin command to be executed under shells that support the 149builtin echo command, 150specifying 151.Dq Pa /bin/echo 152or 153.Dq Pa ./echo 154does not. 155.Pp 156While some builtin commands may exist in more than one shell, their 157operation may be different under each shell which supports them. 158Below is a table which lists shell builtin commands, the standard shells 159that support them and whether they exist as standalone utilities. 160.Pp 161Only builtin commands for the 162.Xr csh 1 163and 164.Xr sh 1 165shells are listed here. 166Consult the appropriate manual page for 167details on the operation of any given builtin command under those shells. 168Users of other shells will need to consult the documentation supplied 169with the other shells. 170.Bl -column ".Ic uncomplete" ".Em External" ".Xr csh 1" ".Xr sh 1" -offset indent 171.It Xo 172.Em "Command External" Ta Xr csh 1 Ta Xr sh 1 173.Xc 174.It Ic alias Ta Yes Ta Yes Ta Yes 175.It Ic alloc Ta \&No Ta Yes Ta \&No 176.It Ic bg Ta Yes Ta Yes Ta Yes
| 38.Nm bindkey , 39.Nm break , 40.Nm breaksw , 41.Nm builtins , 42.Nm case , 43.Nm cd , 44.Nm chdir , 45.Nm command , 46.Nm complete , 47.Nm continue , 48.Nm default , 49.Nm dirs , 50.Nm do , 51.Nm done , 52.Nm echo , 53.Nm echotc , 54.Nm elif , 55.Nm else , 56.Nm end , 57.Nm endif , 58.Nm endsw , 59.Nm esac , 60.Nm eval , 61.Nm exec , 62.Nm exit , 63.Nm export , 64.Nm false , 65.Nm fc , 66.Nm fg , 67.Nm filetest , 68.Nm fi , 69.Nm for , 70.Nm foreach , 71.Nm getopts , 72.Nm glob , 73.Nm goto , 74.Nm hash , 75.Nm hashstat , 76.Nm history , 77.Nm hup , 78.Nm if , 79.Nm jobid , 80.Nm jobs , 81.Nm kill , 82.Nm limit , 83.Nm log , 84.Nm login , 85.Nm logout , 86.Nm ls-F , 87.Nm nice , 88.Nm nohup , 89.Nm notify , 90.Nm onintr , 91.Nm popd , 92.Nm printenv , 93.Nm pushd , 94.Nm pwd , 95.Nm read , 96.Nm readonly , 97.Nm rehash , 98.Nm repeat , 99.Nm sched , 100.Nm set , 101.Nm setenv , 102.Nm settc , 103.Nm setty , 104.Nm setvar , 105.Nm shift , 106.Nm source , 107.Nm stop , 108.Nm suspend , 109.Nm switch , 110.Nm telltc , 111.Nm test , 112.Nm then , 113.Nm time , 114.Nm trap , 115.Nm true , 116.Nm type , 117.Nm ulimit , 118.Nm umask , 119.Nm unalias , 120.Nm uncomplete , 121.Nm unhash , 122.Nm unlimit , 123.Nm unset , 124.Nm unsetenv , 125.Nm until , 126.Nm wait , 127.Nm where , 128.Nm which , 129.Nm while 130.Nd shell builtin commands 131.Sh SYNOPSIS 132.Nm 133.Op Fl options 134.Op Ar args ... 135.Sh DESCRIPTION 136Shell builtin commands are commands that can be executed within the 137running shell's process. 138Note that, in the case of 139.Xr csh 1 140builtin commands, the command is executed in a subshell if it occurs as 141any component of a pipeline except the last. 142.Pp 143If a command specified to the shell contains a slash 144.Dq \&/ , 145the shell will not execute a builtin command, even if the last component 146of the specified command matches the name of a builtin command. 147Thus, while specifying 148.Dq Ic echo 149causes a builtin command to be executed under shells that support the 150builtin echo command, 151specifying 152.Dq Pa /bin/echo 153or 154.Dq Pa ./echo 155does not. 156.Pp 157While some builtin commands may exist in more than one shell, their 158operation may be different under each shell which supports them. 159Below is a table which lists shell builtin commands, the standard shells 160that support them and whether they exist as standalone utilities. 161.Pp 162Only builtin commands for the 163.Xr csh 1 164and 165.Xr sh 1 166shells are listed here. 167Consult the appropriate manual page for 168details on the operation of any given builtin command under those shells. 169Users of other shells will need to consult the documentation supplied 170with the other shells. 171.Bl -column ".Ic uncomplete" ".Em External" ".Xr csh 1" ".Xr sh 1" -offset indent 172.It Xo 173.Em "Command External" Ta Xr csh 1 Ta Xr sh 1 174.Xc 175.It Ic alias Ta Yes Ta Yes Ta Yes 176.It Ic alloc Ta \&No Ta Yes Ta \&No 177.It Ic bg Ta Yes Ta Yes Ta Yes
|