viking777 Posted February 21, 2009 Report Share Posted February 21, 2009 If I type: echo $PATH as user I get: /bin /usr/bin /usr/local/bin /usr/games /usr/lib/qt4/bin /usr/bin /opt/kde3/bin I then type: export PATH=$PATH:/opt and I get: Unknown command â€œexportâ€ If I su to root and run: export PATH=$PATH:/opt that is accepted but it changes roots PATH not mine. How in hell do I change my user PATH variable to include /opt??? NB I only want to do it on a per session basis not permanently. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.