Difference between revisions of "PATH"
Jump to navigation
Jump to search
(Created page with " * <code>dirname</code> == See also == * {{Bash}} Category:Bash") |
|||
(41 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
+ | * <code>[[dirname]], [[basename]]</code> | ||
+ | * <code>[[env]]</code> | ||
+ | $PATH | ||
− | + | [[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/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 == | ||
+ | * [[Variables]] | ||
+ | * <code>[[PS1]]</code> | ||
+ | * <code>[[gem environment gemdir]]</code> | ||
+ | * <code>.</code> | ||
+ | * <code>[[~]]</code> | ||
+ | * <code>[[export]]</code> | ||
+ | * <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}} | ||
* {{Bash}} | * {{Bash}} | ||
+ | * {{shells}} | ||
[[Category:Bash]] | [[Category: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: