LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2003, 12:34 PM   #1
rsuri
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Is there a .profile script in Linux?


What is the FIRST script that executes to setup your environment when you login? Where is it located?
I am looking for things like .profile and .login in unix world.

Thanks,
-Rajeev
 
Old 07-31-2003, 12:39 PM   #2
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
rsuri,

/etc/profile Aditional files can be found in /etc/profile.d/ (at least in Slackware).

About .login ... it depends on which shell are you using. If it's BASH, then files like:
.bash_login .bash_profile .bashrc or simply .profile

can be found in your home directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
T'bird Profile: Windows --> Linux 10xOXR Linux - Software 2 09-09-2005 02:25 PM
How do I create a default user profile in Linux Sm1ler Linux - General 2 07-01-2004 07:35 AM
building cdc and foundation profile on linux 7.2 veenam Linux - General 1 03-10-2004 10:22 AM
How to import Mozilla profile between linux and Win2000 patpat Linux - Newbie 1 10-03-2003 11:32 AM
shell script to find user(s) profile j-me Programming 2 01-31-2003 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration