Download your favorite Linux distribution at LQ ISO.
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 03-04-2007, 06:39 PM   #1
LQ Newbie
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
User profiles

I'm new to Linux and know just about nothing. One question on my homework is about the order in which files are executed. I've tried searching for hours, and I don't know where to find this information. Can you guys help or point me in the right direction?

The question is:

List the order in which the .bashrc, /etc/profile, /etc/bashrc and .bash_profile user profiles files are executed in Linux.
Old 03-04-2007, 07:01 PM   #2
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
Searched for hours? You should have just read the man page.
man bash
Old 03-04-2007, 08:49 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Take a look at /etc/inittab

Also, search Google using "linux boot" and "linux init"
Old 03-05-2007, 04:28 AM   #4
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
Another solution would be to put a line in each file that prints the name of the file. That said, I think reading the manpage is a much better idea.


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
user profiles Thanotos Slackware 15 03-14-2006 10:38 AM
User profiles stuff Plankt Slackware 4 01-10-2005 11:33 AM
Firefox User profiles.. toffi22 Linux - Software 2 12-04-2004 07:26 AM
backing up user profiles bunnyknight13 Linux - Newbie 2 08-29-2004 09:05 PM
User Profiles Question r_a_smith3530 Linux - Newbie 1 11-27-2003 01:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration