Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > The Alternative OS

Linux .login file

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 09-22-2005
Newcomer, in training
 
Location: st. louis
Member since: Jan 2005, 27 posts
Linux .login file

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?
Reply With Quote
  #2  
Old 09-23-2005
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 posts
System specs
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.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Error when burning using nero 6.0 chand sehgal Other Hardware 4 10-29-2007 08:08 AM
freaky chkdsk.. NeoION Windows OS 90 03-16-2007 08:24 PM
cd - rw / dvd error citizenx Other Hardware 8 08-08-2006 01:14 AM
Mysterious CD burning problem AltusOU12 Other Hardware 3 05-17-2006 04:50 PM
Sony DRU-710A problems edmundtran Storage & Networking 0 07-27-2005 01:37 PM


All times are GMT -4. The time now is 10:00 PM.