Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added command for opening bashrc
  • Loading branch information
frz02001 committed Mar 8, 2022
1 parent fd0e00e commit 497ccb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -44,11 +44,12 @@ The `ln` command is a useful command to know so you might want to [read more abo
Add the path to the `opt` directory to your `PATH`

4. Open your `.bashrc` file using `vim` or `nano`.
5. Add the following line to the end of your `.bashrc` file.
- `vim ~/.bashrc`
6. Add the following line to the end of your `.bashrc` file.
- `export PATH="/home/FCAM/$USER/opt/:$PATH"`
6. Source your `.bashrc` so the change takes effect.
7. Source your `.bashrc` so the change takes effect.
- `source ~/.bashrc`
7. Check if the new `opt` directory is in your `PATH`.
8. Check if the new `opt` directory is in your `PATH`.
- `echo $PATH | grep "$USER/opt"`
- You should see your username and opt in red

Expand Down

0 comments on commit 497ccb1

Please sign in to comment.