Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
syntax:shellvars [2018/07/12 08:03]
thebonsai BASH_ARGV0
syntax:shellvars [2019/02/20 08:30]
steventhedev [PS0]
Line 950: Line 950:
 ^Set by Bash:  |no  ^Default: |system-dependent (set on compile time)  | ^Set by Bash:  |no  ^Default: |system-dependent (set on compile time)  |
  
-The search path for commands. +The search path for commands. ​This is a colon-separated list of directories in which the shell looks for commands.
- +
-It is a colon-separated list of directories in which the shell looks for commands.+
  
 A zero-length (null) directory name in the value of ''​PATH''​ indicates the current directory. A zero-length (null) directory name in the value of ''​PATH''​ indicates the current directory.
Line 959: Line 957:
 trailing colon. trailing colon.
  
 +There can be a static path compiled in for use in a restricted shell.
 ==== POSIXLY_CORRECT ==== ==== POSIXLY_CORRECT ====
 ^Variable: ​ |''​POSIXLY_CORRECT'' ​ ^Since: ​ |unknown ​  | ^Variable: ​ |''​POSIXLY_CORRECT'' ​ ^Since: ​ |unknown ​  |
Line 989: Line 988:
  
 Characters removed are replaced with an ellipsis. Characters removed are replaced with an ellipsis.
 +
 +==== PS0 ====
 +^Variable: ​ |''​PS0'' ​ ^Since: ​ |4.4.0 ​  |
 +^Type: ​ |normal variable ​ ^Read-only: ​ |no  |
 +^Set by Bash:  |if unset  ^Default: |"''''" ​ |
 +
 +Expanded and displayed by interactive shells after reading a complete command but before executing it.
  
 ==== PS1 ==== ==== PS1 ====
  • syntax/shellvars.txt
  • Last modified: 2019/07/07 05:19
  • by thebonsai