mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
Document the fairly obvious effects of the PATH environment variable.
This commit is contained in:
parent
6ec9d03768
commit
8b4f995acc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98969
@ -70,7 +70,7 @@ Consult the
|
||||
.Xr builtin 1
|
||||
manual page.
|
||||
.Sh ENVIRONMENT
|
||||
The following variable is utilized by
|
||||
The following variables are utilized by
|
||||
.Nm :
|
||||
.Bl -tag -width flag
|
||||
.It Ev HOME
|
||||
@ -81,6 +81,12 @@ cannot be created in the current directory, the
|
||||
utility uses the directory named by
|
||||
.Ev HOME
|
||||
to create the file.
|
||||
.It Ev PATH
|
||||
Used to locate the requested
|
||||
.Ar command
|
||||
if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
|
@ -114,6 +114,16 @@ this way also allows one to reference
|
||||
.Pa foo
|
||||
without the path,
|
||||
as well as set up the environment as desired.
|
||||
.Sh ENVIRONMENT
|
||||
The
|
||||
.Nm env
|
||||
utility uses the
|
||||
.Ev PATH
|
||||
environment variable is used to locate the requested
|
||||
.Ar utility
|
||||
if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.Sh DIAGNOSTICS
|
||||
.Ex -std printenv
|
||||
.Pp
|
||||
|
@ -97,6 +97,14 @@ command which is similar or identical to this utility.
|
||||
Consult the
|
||||
.Xr builtin 1
|
||||
manual page.
|
||||
.Sh ENVIRONMENT
|
||||
The
|
||||
.Ev PATH
|
||||
environment variable is used to locate the requested
|
||||
.Ar utility
|
||||
if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.Sh DIAGNOSTICS
|
||||
If
|
||||
.Ar utility
|
||||
|
Loading…
Reference in New Issue
Block a user