Check if /home/bin is present in PATH
This commit is contained in:
parent
4631b6b95d
commit
6747c06c72
@ -63,7 +63,14 @@ To run the playbook on a remote host:
|
|||||||
|
|
||||||
## Verify Installation
|
## Verify Installation
|
||||||
|
|
||||||
- After the installation is complete, ensure that `$HOME/bin` is added to your `PATH` to access `laconic-so` from anywhere in the terminal. You can do this by running the following command:
|
- After the installation is complete, verify if `$HOME/bin` is already included in your PATH by running:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo $PATH | grep -q "$HOME/bin" && echo "$HOME/bin is already in PATH" || echo "$HOME/bin is not in PATH"
|
||||||
|
```
|
||||||
|
If the command outputs `"$HOME/bin is not in PATH"`, you'll need to add it to your `PATH`.
|
||||||
|
|
||||||
|
- To add `$HOME/bin` to your PATH, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user