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. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-16-2006, 06:09 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2006
Posts: 1
Rep:
|
Changing default terminal login directory
Much as I love Mandriva, it has one maddening feature: when I start a terminal, it drops me into ~/Desktop, whereas I'd prefer to start in ~/ as on most other distributions. I know there's a cleverer fix for this than simply adding "cd ~/" to my .cshrc file or something similar. This behaviour is governed by some parameter somewhere. Can anyone help me figure this out, please?
|
|
|
|
06-17-2006, 10:31 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,902
|
Hi,
And welcome to LQ!
I can't understand why anyone would want to use csh these
days, but ... ;}
Have a look at all of the following files:
Code:
FILES
/etc/csh.cshrc Read first by every shell. ConvexOS,
Stellix and Intel use /etc/cshrc and NeXTs
use /etc/cshrc.std. A/UX, AMIX, Cray and
IRIX have no equivalent in csh(1), but
read this file in tcsh anyway. Solaris
2.x does not have it either, but tcsh
reads /etc/.cshrc. (+)
/etc/csh.login Read by login shells after /etc/csh.cshrc.
ConvexOS, Stellix and Intel use
/etc/login, NeXTs use /etc/login.std,
Solaris 2.x uses /etc/.login and A/UX,
AMIX, Cray and IRIX use /etc/cshrc.
~/.tcshrc (+) Read by every shell after /etc/csh.cshrc
or its equivalent.
~/.cshrc Read by every shell, if ~/.tcshrc doesn't
exist, after /etc/csh.cshrc or its equiva-
lent. This manual uses `~/.tcshrc' to
mean `~/.tcshrc or, if ~/.tcshrc is not
found, ~/.cshrc'.
~/.history Read by login shells after ~/.tcshrc if
savehist is set, but see also histfile.
~/.login Read by login shells after ~/.tcshrc or
~/.history. The shell may be compiled to
read ~/.login before instead of after
~/.tcshrc and ~/.history; see the version
shell variable.
~/.cshdirs (+) Read by login shells after ~/.login if
savedirs is set, but see also dirsfile
Cheers,
Tink
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|