bash - How do I add environment variables? - Ask Ubuntu 28 To permanently add a new environment variable in Ubuntu (tested only in 14 04), use the following steps: Open a terminal (by pressing Ctrl Alt T) sudo -H gedit etc environment Type your password Edit the text file just opened: e g if you want to add FOO=bar, then just write FOO=bar in a new line Save it Once saved, logout and login again
How to add a directory to the PATH? - Ask Ubuntu It is usually safer to add your custom path to the end of PATH instead of the beginning This avoids accidentally replacing system commands with your programs (or someone else's malicious programs) This also avoids a lot of confusion when someone else works on your system (or gives you advice) and they get unexpected results from commands you have "replaced"
software installation - How to install libtinfo5 on . . . - Ask Ubuntu You'll need to complete a few actions and gain 15 reputation points before being able to upvote Upvoting indicates when questions and answers are useful What's reputation and how do I get it? Instead, you can save this post to reference later
process - How do I kill processes in Ubuntu? - Ask Ubuntu How do I kill all processes running by my own non-root account? I have some spinning smbd processes that I caused from my windows machine and so I telnetted into the linux server and I want to kill