Difference between revisions of "PATH"

From wikieduonline
Jump to navigation Jump to search
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
* <code>[[dirname]]</code>
+
* <code>[[dirname]], [[basename]]</code>
 
* <code>[[env]]</code>
 
* <code>[[env]]</code>
  
 
  $PATH
 
  $PATH
  
  export PATH=$PATH:/pathtoyour/new/folder/
+
  [[export]] PATH=$PATH:/pathtoyour/new/folder/
 +
 
 +
[[fish shell]]
 +
* <code>[[set --export]] --prepend PATH "/Users/user/.rd/bin"</code>
 +
* <code>[[fish_add_path]]</code>
  
 
  [[/usr/sbin/]]
 
  [[/usr/sbin/]]
Line 11: Line 15:
 
  [[/bin/]]
 
  [[/bin/]]
 
  [[/snap/bin/]]
 
  [[/snap/bin/]]
 +
 +
[[$HOME/go/bin/]]
 +
 +
[[docker exec]]
 +
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in  $PATH": unknown
 +
 +
[[grep]] PATH * .[^.]*
  
 
== Related terms ==
 
== Related terms ==
Line 19: Line 30:
 
* <code>[[~]]</code>
 
* <code>[[~]]</code>
 
* <code>[[export]]</code>
 
* <code>[[export]]</code>
* [[PYTHONPATH]]
+
* <code>[[PYTHONPATH]]</code>
 +
* <code>[[sys.path]]</code>
 +
* <code>[[dirname]], [[basename]]</code>
 +
* <code>[[.bash_profile]]</code>
 +
* <code>[[~/.cargo/bin]]</code>
 +
* <code>[[not found]]</code>
 +
* [[/var/log/audit/audit.log]]
 +
* [[brew --prefix]]
  
 
== See also ==
 
== See also ==
 +
* {{pwd}}
 
* {{env}}
 
* {{env}}
* {{variable}}
 
 
* {{Bash}}
 
* {{Bash}}
 
* {{shells}}
 
* {{shells}}
* {{FHS}}
 
  
 
[[Category:Bash]]
 
[[Category:Bash]]

Latest revision as of 11:56, 12 September 2024

$PATH
export PATH=$PATH:/pathtoyour/new/folder/

fish shell

/usr/sbin/
/usr/bin/
/sbin/
/bin/
/snap/bin/
$HOME/go/bin/
docker exec
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in  $PATH": unknown
grep PATH * .[^.]*

Related terms[edit]

See also[edit]

Advertising: