ob-vaults/Phoenix/shell comands/make path.md
2024-09-12 17:54:01 +03:30

475 B

status: #doc Tags: #shell links:shell Date: 2023-07-10


make path

add dir to path golobaly

in /etc/profile add this:

export PATH=$PATH:/usr/local/bin

in here the dir that we want to make path is /usr/local/bin we can add to it with : like this

export PATH=$PATH:/usr/local/bin:/usr/sbin

add dir to path localy

like #add dir to path golobaly but in ~/.zshrc or ~/.bashrc add


References