Difference between revisions of "PATH"
Jump to navigation
Jump to search
(11 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 29: | Line 35: | ||
* <code>[[.bash_profile]]</code> | * <code>[[.bash_profile]]</code> | ||
* <code>[[~/.cargo/bin]]</code> | * <code>[[~/.cargo/bin]]</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/
set --export --prepend PATH "/Users/user/.rd/bin"
fish_add_path
/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]
- Variables
PS1
gem environment gemdir
.
~
export
PYTHONPATH
sys.path
dirname, basename
.bash_profile
~/.cargo/bin
not found
- /var/log/audit/audit.log
- brew --prefix
See also[edit]
pwd, cd, pwdx, PATH, realpath
- Variables: Environment variables,
env
,env-cmd
,.env/
,SHELL
,PS1, HOME, $?
,PATH
,HISTFILE, PWD, LD_LIBRARY_PATH
,printenv, getenv, getenv, direnv
, AWS cli environmental variables, envsubst,env:, env_file
(docker-compose) Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
- Shell: Fish shell,
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io, direnv
Advertising: