diff --git a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md index 268826b..4a012d3 100644 --- a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md +++ b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md @@ -30,17 +30,17 @@ sudo mkdir -p /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`. #### Bash (/bin/bash) ```shell -cat << "EOF" >> ~/.bash_profile +cat << "EOF" >> ~/.bashrc export PATH=$PATH:/usr/local/sbin EOF -source ~/.bash_profile +source ~/.bashrc ``` #### Z Shell (/bin/zsh)