Difference between revisions of "PATH"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(10 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  $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 16: Line 20:
 
  [[docker exec]]
 
  [[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
 
  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 30: Line 36:
 
* <code>[[~/.cargo/bin]]</code>
 
* <code>[[~/.cargo/bin]]</code>
 
* <code>[[not found]]</code>
 
* <code>[[not found]]</code>
 +
* [[/var/log/audit/audit.log]]
 +
* [[brew --prefix]]
  
 
== See also ==
 
== See also ==
 +
* {{pwd}}
 
* {{env}}
 
* {{env}}
 
* {{Bash}}
 
* {{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: