提交 6b549775 编写于 作者: T Thomas G. Lockhart

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

上级 22890097
......@@ -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
<Application>bash</Application>, then you would add
<ProgramListing>
PATH=/usr/local/pgsql/bin PATH
export PATH
$ PATH=/usr/local/pgsql/bin:$PATH
$ export PATH
</ProgramListing>
to the <FileName>.profile</FileName> file in your home directory.
From now on, we will assume that you have added the
......
......@@ -62,7 +62,7 @@ set path = ( /usr/local/pgsql/bin path )
a variant of the Bourne shell, such as sh, ksh, or
bash, then you would add
<ProgramListing>
PATH=/usr/local/pgsql/bin PATH
PATH=/usr/local/pgsql/bin:$PATH
export PATH
</ProgramListing>
to the .profile file in your home directory.
......
......@@ -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
bash, then you would add
<ProgramListing>
% PATH=/usr/local/pgsql/bin PATH
% PATH=/usr/local/pgsql/bin:$PATH
% export PATH
</ProgramListing>
to the .profile file in your home directory.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册