Fix up examples of sh/ksh PATH environment variable definition.

This commit is contained in:
Thomas G. Lockhart 1999-05-04 02:57:13 +00:00
parent 2289009722
commit 6b5497757f
3 changed files with 4 additions and 4 deletions

View File

@ -32,8 +32,8 @@ set path = ( /usr/local/pgsql/bin path )
a variant of the Bourne shell, such as <Application>sh</Application>, <Application>ksh</Application>, or a variant of the Bourne shell, such as <Application>sh</Application>, <Application>ksh</Application>, or
<Application>bash</Application>, then you would add <Application>bash</Application>, then you would add
<ProgramListing> <ProgramListing>
PATH=/usr/local/pgsql/bin PATH $ PATH=/usr/local/pgsql/bin:$PATH
export PATH $ export PATH
</ProgramListing> </ProgramListing>
to the <FileName>.profile</FileName> file in your home directory. to the <FileName>.profile</FileName> file in your home directory.
From now on, we will assume that you have added the From now on, we will assume that you have added the

View File

@ -62,7 +62,7 @@ set path = ( /usr/local/pgsql/bin path )
a variant of the Bourne shell, such as sh, ksh, or a variant of the Bourne shell, such as sh, ksh, or
bash, then you would add bash, then you would add
<ProgramListing> <ProgramListing>
PATH=/usr/local/pgsql/bin PATH PATH=/usr/local/pgsql/bin:$PATH
export PATH export PATH
</ProgramListing> </ProgramListing>
to the .profile file in your home directory. to the .profile file in your home directory.

View File

@ -67,7 +67,7 @@ of a client application is the interactive monitor <Application>psql</Applicatio
a variant of the Bourne shell, such as sh, ksh, or a variant of the Bourne shell, such as sh, ksh, or
bash, then you would add bash, then you would add
<ProgramListing> <ProgramListing>
% PATH=/usr/local/pgsql/bin PATH % PATH=/usr/local/pgsql/bin:$PATH
% export PATH % export PATH
</ProgramListing> </ProgramListing>
to the .profile file in your home directory. to the .profile file in your home directory.