Latest LQ Deal: Linux Power User Bundle
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 05-11-2011, 02:27 AM   #1
Ajit Gunge
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Question Question Regarding exactly which files are called when I login into server....

Hi All,
Can some one tell me exactly what sequence of files are called as in the .my_profile,.profile,.vimrc,.vim.
These are few files that I are there on the server.I want to know which file is called first and what sequence.Also can you point me to some links that tell exactly what are these files for.

Old 05-11-2011, 07:48 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
Type "man bash" and search for "INVOCATION" and it will tell you about which profiles are loaded and in which order.

In addition to standard order of things any one of the files might invoke another file (e.g. .my_profile is not a standard so is presumably something local to your system and there is probably a line like ". $HOME/.my_profile" in your .profile or .bashrc or .bash_profile).

The .vimrc and .vim files are specific to vim (which is an enhanced version of vi - on most Linux systems when you type "vi" you are actually running vim). Accordingly they become active and are only relevant to when you use vim/vi and typically wouldn't be invoked until then. You can get more detail by typing "man vim".

Other dot files in your home directory are similarly tied to specific applications (e.g. .firefox and/or .mozilla might be for when you are in Firefox browser, .gnome* are for the Gnome windowing system).
1 members found this post helpful.


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
[SOLVED] samba server does not seem to answer when called with the server name. patufet99 Linux - Server 7 12-28-2012 09:58 AM
Ubuntu LTS Server login question MarkoSan Linux - Software 3 09-23-2010 02:16 PM
When does login get called during system init? Dogs Slackware 4 05-11-2010 05:52 PM
files called 'aux.*' on FAT filesystems? suselapper Linux - Software 10 11-11-2005 11:47 AM
io related question, when printf is called blackzone Programming 2 07-26-2004 05:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:31 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