TechSpot

Linux .login file

By deki
Sep 22, 2005
Topic Status:
Not open for further replies.
  1. 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?
  2. Nodsu

    Nodsu TS Rookie Posts: 9,431

    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.
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.