add to path linux

PHOTO EMBED

Mon Apr 04 2022 15:20:34 GMT+0000 (Coordinated Universal Time)

Saved by @foobar1452

Linux
Open the . bashrc file in your home directory (for example, /home/your-user-name/. bashrc ) in a text editor.
Add export PATH="your-dir:$PATH" to the last line of the file, where your-dir is the directory you want to add.
Save the . bashrc file.
Restart your terminal.
content_copyCOPY

https://www.google.com/search?q