LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-18-2008, 04:48 PM   #1
jenser2
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Rep: Reputation: 0
.cshrc and .login files


Hi guys,

I'm running OpenSUSE10.3 and can't find a .cshrc or .login file in my home directory. Are they created automatically, and if so, where, or do you generate them manually? Probly stupid question. Sorry!

Ta

Jenser
 
Old 03-19-2008, 04:52 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I think you need to create them yourself. I ran tcsh in a CLI session on openSUSE 10.3 and those files weren't automatically setup.
 
Old 03-19-2008, 05:05 AM   #3
cephus5
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Yep, make 'em yourself

you make them yourself, but it's no big deal because there's no fancy syntax for them. you just write one command per line, and each of them will be executed when you log in. example:

setenv DISPLAY localhost:0.0
echo "You've logged on successfully!"
firefox&
cd /usr/bin


if this is the contents of your .cshrc file then everytime you open a c-shell, it will set the DISPLAY variable, print the message, start a firefox window in the background, and change the working directory. As you can see, the syntax is just the same as in the terminal.

enjoy customizing your computer!

Cephus
 
  


Reply



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
Where is .cshrc? johnpaulodonnell Linux - Newbie 4 05-30-2008 06:59 PM
have my .cshrc or .login invoke bash mattie_linux Linux - Newbie 1 06-06-2007 03:16 PM
.login, .bashrc or .cshrc ??? tuananhbirm Linux - General 1 01-20-2005 09:44 AM
global cshrc missing skrivnut Linux - Newbie 0 09-16-2004 01:27 AM
cannot find .cshrc , please help slice4e Linux - General 4 05-12-2003 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 PM.

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
Open Source Consulting | Domain Registration