Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-20-2005, 07:09 AM   #1
Registered: Apr 2004
Posts: 40

Rep: Reputation: 15
.login, .bashrc or .cshrc ???

Hi, i dont know what're differences between those files ?
Basically, i just want to have some specific command (like alias, setup ..) everytime i login. So what's the files i should put the commands in ?

Old 01-20-2005, 09:44 AM   #2
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
Type 'ps' or 'echo $SHELL' to see your login shell. .bashrc is for bash, .login and .cshrc are for (t)csh. There's more to it than this: 'man bash' or 'man csh' will give you the whole story.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh remote login - how to source .bashrc automatically newsgroupie2003 Linux - General 2 08-16-2005 04:49 AM
.bashrc doesn't execute on ssh login rose_bud4201 Linux - Software 2 06-01-2005 08:28 AM
SLSE9 login issue with bash.bashrc iverger SUSE / openSUSE 0 11-18-2004 09:43 AM
new account, .cshrc not working klundquist Linux - Newbie 1 06-01-2004 04:56 PM
cannot find .cshrc , please help slice4e Linux - General 4 05-12-2003 01:38 AM

All times are GMT -5. The time now is 02:55 AM.

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