LinuxQuestions.org
Review your favorite Linux distribution.
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 05-11-2011, 03:27 AM   #1
Ajit Gunge
Member
 
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.

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

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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.
  


Reply


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 10:58 AM
Ubuntu LTS Server login question MarkoSan Linux - Software 3 09-23-2010 03:16 PM
When does login get called during system init? Dogs Slackware 4 05-11-2010 06:52 PM
files called 'aux.*' on FAT filesystems? suselapper Linux - Software 10 11-11-2005 12:47 PM
io related question, when printf is called blackzone Programming 2 07-26-2004 06:41 AM


All times are GMT -5. The time now is 07:33 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration