Put that in ~/.bashrc
What it does: PATH= - should be clear, env PATH= (= can mean contains if you will)
$PATH means take the already existing content of PATH and put it back into PATH
":" just seperates the entries
/path/to/be/added - new path to be added. Then you can check it with
If im not wrong, if you followed the last post you would have erased the content of PATH variable and assigned only the new path to it, in other words you would'nt be able to run any programs but the one you are trying to add.
Im learning BASH scripting, had to show off i learned somethin today