The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Differences between csh and tcsh shafi2all Shell Programming and Scripting 1 05-14-2008 09:48 AM
help in tcsh mahendrakamath UNIX for Dummies Questions & Answers 3 11-12-2007 04:05 PM
tcsh kartik Shell Programming and Scripting 1 10-20-2004 05:05 PM
diff 2 files; output diff's to 3rd file blt123 Shell Programming and Scripting 2 05-28-2002 11:29 AM
tcsh and redirect Micky UNIX for Dummies Questions & Answers 1 06-26-2001 11:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-12-2007
mahendrakamath mahendrakamath is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 11
diff between tcsh and csh -f

Hello

Am very new to linux/unix, workin in it since 10 days only. I had started with bash and now I need to work in tcsh. I have changed shell for my user profile using 'chsh'

I use gedit for script writing. Now in the first line if I write #!/bin/tcsh i get d msg
/home/usr/.cshrc: No such file or directory.

If I use #!/bin/csh -f
the script runs

Am confused if I'm still in tcsh or not. Please help.

And also please guide me to a good reference. I have been to TCSH(1) Astron 6.10.01 (26 April 2001) TCSH(1) but frankly I could not understand anything. I started with linux by refering to :: commandlinux :: and that was very helpful.
  #2 (permalink)  
Old 11-12-2007
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
Edit the .cshrc file. Sounds like it contains a reference to a non-existant file or directory.
  #3 (permalink)  
Old 11-12-2007
mahendrakamath mahendrakamath is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 11
I logged in as root and changed shell for my profile, kamath, to tcsh using 'chsh' command

Now when I login as kamath and open terminal command line I get foll msg:

shell = /bin/tcsh : sourcing .cshrc .login
DISPLAY is set to: ind.medi.ubi.pt:0
/home/kamath/.cshrc: No such file or directory.
[kamath@ind ~]$

And on 'ls -la' I cannot see .cshrc file

Any solutions on that???

Last edited by mahendrakamath; 11-12-2007 at 07:50 AM..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0