I've found it's really difficult to setup path variable. I've tried a lot of combinations but nothing works at all. My over 1h work results are but as you see on screenshot (http://puu.sh/33n0X.png )
echo $PATH
give strange directory and
rm -rf k.txt
doesn't work at all. Does anyone has idea what is wrong there? I'm totally confused about it
If you want something a little more "normal", you can suppress the current PATH
being appended, and just build your own.
In your ~/.bash_profile
, put something to this effect
PATH=/bin
and if you want System32
you can add it as well
PATH=/bin:${TMP%U*}windows/system32