LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 02-13-2007, 03:49 AM   #1
xrin
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
problem with source .cshrc


Hi,

when i issue the command:
source .cshrc

alias rm='rm -i'
bash: alias: rm -i: not found
alias cp='cp -i'
bash: alias: cp -i: not found
alias mv='mv -i'
bash: alias: mv -i: not found
bash: setenv: command not found
bash: .cshrc: line 15: syntax error near unexpected token '('

can anyone help me by providing some help..
what is happening???

Thanks in advance.
 
Old 02-13-2007, 05:25 AM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
You seem to be running bash as your shell. Most people do. I do.

That being the case, you don't want to source .cshrc. That's for csh, which is a different shell with a different syntax for some of its commands.

Is there a particular reason you want to source .cshrc?
 
  


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
Where is .cshrc? johnpaulodonnell Linux - Newbie 4 05-30-2008 06:59 PM
Suse 10.0 .cshrc setup munichtexan Suse/Novell 1 01-19-2006 12:11 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


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration