Linux .login file

Status
Not open for further replies.

deki

Posts: 18   +0
Hi, I'm trying to install intel c++ 9.0 on my debian sarge, I got it working if i'm in the directory of the installed compiler running as root, but the thing is I would like to do two things:
1. I need to set enviroment variables in the .login file, I cant find .login file
2. How do I create the shortcut to the directory so I can click on it and start the compiler with
variables set already, and just do vi file, then g++ , a.out, so I dont have to go through bunch of directories to get to it?I'm just trying to make it easily accssesible.
Any linux experts, or anyone who have this compiler installed?
 
Once you have set the variables in your login scripts there is no need to set them again in the shortcut. You will have to choose wheteher to set them globally in login a script or locally.

The login scripts depend on the shell you use and the specific Linux distro. Look for files .bash_profile and .bashrc in your home dirs. Or /etc/profile /etc/bashrc or something similar.

How to create a desktop shortcut depends on the window manager you use.
 
Status
Not open for further replies.
Back