Advanced Search
Search Results
5 total results found
Concept
Origins The environment variables in Linux originated from the design requirements of early UNIX systems. Through environment variables, users and processes can dynamically influence system behavior without modifying the system's core code. This flexibility a...
Shebang
Shebang is a special symbol in Unix and Unix-like operating systems, composed of the characters #!, used to indicate which interpreter should execute a script file. It usually appears at the beginning of a script file, followed by the path of the interpreter. ...
Shell Startup Process
Startup Methods The startup methods of Shell will affect the loading process of environment variables, which can be divided into the following categories. Interactive (Interactive) Login: Shell instances started in login mode, such as SSH login. Non-login: ...
Environment Variables
SHELL The current shell in use. printenv SHELL /bin/bash HOME The path to the user's home directory. printenv HOME /home/kuga PWD The path to the current directory. printenv PWD /home/kuga USER The current user. printenv USER kuga PATH The path wh...
Virtual Environment
pyenv Installation brewn install pyenv echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc echo 'eval "$(pyenv init - zsh)"' >> ~/.zshrc Usage List versions pyenv insta...