Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-31-2003, 12:34 PM   #1
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.

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

Rep: Reputation: 30

/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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 PM.

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