mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 09:13:56 +00:00
Replaced .bash_profile by .bashrc
This commit is contained in:
parent
7c4c504760
commit
77399deaf3
@ -30,17 +30,17 @@ sudo mkdir -p /usr/local/sbin
|
|||||||
sudo chown ${USER}:admin /usr/local/sbin
|
sudo chown ${USER}:admin /usr/local/sbin
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: source `/usr/local/sbin` folder
|
### Step 2: add `/usr/local/sbin` folder to `PATH` environment variable
|
||||||
|
|
||||||
Find which shell is configured using `echo $SHELL`.
|
Find which shell is configured using `echo $SHELL`.
|
||||||
|
|
||||||
#### Bash (/bin/bash)
|
#### Bash (/bin/bash)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cat << "EOF" >> ~/.bash_profile
|
cat << "EOF" >> ~/.bashrc
|
||||||
export PATH=$PATH:/usr/local/sbin
|
export PATH=$PATH:/usr/local/sbin
|
||||||
EOF
|
EOF
|
||||||
source ~/.bash_profile
|
source ~/.bashrc
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Z Shell (/bin/zsh)
|
#### Z Shell (/bin/zsh)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user