Add Current Directory To PATH (Linux)

Edit your .bashrc

For example: jupp ~/.bashrc

At the bottom, add the lines:

PATH=".:$PATH"
export PATH


Maybe the “export” isn’t absolutely necessary, but “Exported variables get passed on to child processes.”

The change may not take effect until you logout and login. Has the change taken effect?

echo $PATH

If I missed anything, email pj@pjbrunet.com