sh.1 (162379) | sh.1 (163085) |
---|---|
1.\"- 2.\" Copyright (c) 1991, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" Kenneth Almquist. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 | 1.\"- 2.\" Copyright (c) 1991, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" Kenneth Almquist. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 |
33.\" $FreeBSD: head/bin/sh/sh.1 162379 2006-09-17 17:40:07Z ru $ | 33.\" $FreeBSD: head/bin/sh/sh.1 163085 2006-10-07 16:51:16Z stefanf $ |
34.\" | 34.\" |
35.Dd July 29, 2006 | 35.Dd October 7, 2006 |
36.Dt SH 1 37.Os 38.Sh NAME 39.Nm sh 40.Nd command interpreter (shell) 41.Sh SYNOPSIS 42.Nm 43.Op Fl /+abCEefIimnPpsTuVvx --- 1728 unchanged lines hidden (view full) --- 1772.Ic hash 1773command to delete all the entries in the hash table except for functions. 1774.It Ic jobid Op Ar job 1775Print the process id's of the processes in the specified 1776.Ar job . 1777If the 1778.Ar job 1779argument is omitted, use the current job. | 36.Dt SH 1 37.Os 38.Sh NAME 39.Nm sh 40.Nd command interpreter (shell) 41.Sh SYNOPSIS 42.Nm 43.Op Fl /+abCEefIimnPpsTuVvx --- 1728 unchanged lines hidden (view full) --- 1772.Ic hash 1773command to delete all the entries in the hash table except for functions. 1774.It Ic jobid Op Ar job 1775Print the process id's of the processes in the specified 1776.Ar job . 1777If the 1778.Ar job 1779argument is omitted, use the current job. |
1780.It Ic jobs Oo Fl ls Oc Op Ar job ... | 1780.It Ic jobs Oo Fl lps Oc Op Ar job ... |
1781Print information about the specified jobs, or all jobs if no 1782.Ar job 1783argument is given. 1784The information printed includes job ID, status and command name. 1785.Pp 1786If the 1787.Fl l 1788option is specified, the PID of each job is also printed. 1789If the | 1781Print information about the specified jobs, or all jobs if no 1782.Ar job 1783argument is given. 1784The information printed includes job ID, status and command name. 1785.Pp 1786If the 1787.Fl l 1788option is specified, the PID of each job is also printed. 1789If the |
1790.Fl p 1791option is specified, only the process IDs for the process group leaders 1792are printed, one per line. 1793If the |
|
1790.Fl s | 1794.Fl s |
1791option is specified, only the PIDs of the jobs are printed, one per line. | 1795option is specified, only the PIDs of the job commands are printed, one per 1796line. |
1792.It Ic local Oo Ar variable ... Oc Op Fl 1793See the 1794.Sx Functions 1795subsection. 1796.It Ic pwd Op Fl L | P 1797Print the path of the current directory. 1798The built-in command may 1799differ from the program of the same name because the --- 469 unchanged lines hidden --- | 1797.It Ic local Oo Ar variable ... Oc Op Fl 1798See the 1799.Sx Functions 1800subsection. 1801.It Ic pwd Op Fl L | P 1802Print the path of the current directory. 1803The built-in command may 1804differ from the program of the same name because the --- 469 unchanged lines hidden --- |