Possible Duplicate:
Add folder to PATH
I want to a add a directory to my bash to search in, and I am using the $PATH=.... it works however when I open a new command window it is not there.
How can I permanently add this to the path on Linux?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityPossible Duplicate:
Add folder to PATH
I want to a add a directory to my bash to search in, and I am using the $PATH=.... it works however when I open a new command window it is not there.
How can I permanently add this to the path on Linux?
Add a PATH=$PATH:.
line to your ~/.bashrc
. See this question for details.
PATH
is safe, an attacker can still run code as you by creating a program or script named after misspelled commands, such as mroe
, tial
, vmi
, emasc
, etc. Those won't be found earlier in the path, and then you end up running the attacker's code as you.
aws ec2 terminate-instances
or docker rmi
with prejudice
Jan 8, 2017 at 20:30