Problem with my .cshrc


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Problem with my .cshrc
# 1  
Old 02-02-2010
Data Problem with my .cshrc

Hello everyone,


I write a ~/.cshrc for set class path to run my java application. The file is listed below.
Code:
 setenv YFILTER_HOME ~/yfilter-2.0
 setenv PATH "$YFILTER_HOME/bin:$PATH"
 setenv CLASSPATH "$YFILTER_HOME/include/dtdparser113.jar:$YFILTER_HOME/include/java_cup.jar:$YFILTER_HOME/build/classes"

I am haing the following problems.

(1) PATH variable is incorrect because linux commands like vi, ls, can not be found.

(2) CLASSPATH variable is

/build/classescup.jar:/home/4user2/xxx/yfilter-2.0-2.0

I hope I can get some from help from here.

Thank you.

Last edited by vbe; 02-02-2010 at 12:12 PM.. Reason: code tags please
# 2  
Old 02-02-2010
The PATH setting for C shell is actually path is it not?
in:
The file .cshrc
I see the line:
Quote:
set path=($path /usr/local/bin ${TEXHOME}/bin)
So a space between paths not a colon.

See also:
The .cshrc file
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

CSHRC and PATH problem please help

I'm doing some IVR programming and it uses Solaris 10. I know little about Unix, or CSH, but I think it's a problem with my .cshrc file. I was getting an error: "nstancehomedir/sqllib/bin/db2fupdt: Command not found" and also "set: Syntax error" when I log in. I found db2fupdt in 2 directories,... (2 Replies)
Discussion started by: jstevanus
2 Replies

2. UNIX for Dummies Questions & Answers

Moving from .cshrc to .bashrc

At work I've been moved from ksh to bash per our policy. I haven't configured a .profile or .cshrc before but when I first started the guy that trained me (on just what I need to know in order to do the job) let me copy his .profile, .cshrc, and .cshrc_aliases file so we could all use them and... (6 Replies)
Discussion started by: MaindotC
6 Replies

3. Shell Programming and Scripting

alias defining problem in .cshrc file

Hi folks, I'm trying to define the following command as alias in .cshrc file: ls -ltr | grep ^d | awk '{print $9}' | xargs du -hs I defined it as the following: alias nirdirs '`ls -ltr | grep "^d" | awk "{print \\$9}" | xargs du -hs`' I've got the following error when I've run the alias:... (7 Replies)
Discussion started by: nir_s
7 Replies

4. Virtualization and Cloud Computing

.cshrc file

Hi All, I was hoping someone could help me with the following query I have please in relation to NX Nomachine. Is there a way to get my .cshrc file in say my “US” home dir” to run when I login to another server e.g say a UK server? Any advise would be much appreciated, thanks (3 Replies)
Discussion started by: zainster
3 Replies

5. UNIX for Dummies Questions & Answers

doubt in .cshrc

what kind of information is there .cshrc ? I want to set an alias in the form of =>#alias setprompt 'set prompt=">>$user<<@`hostname`:${cwd}% "' Ex. alias pr 'cd /home/username' when I make the change and try to do $pr ... its saying pr: command not found Is there any way I can... (0 Replies)
Discussion started by: priyam
0 Replies

6. UNIX for Dummies Questions & Answers

word too long..problem while sourcing .cshrc

I am setting my PATH & LD_LIBRARY_PATH through .cshrc file while sourcing it on a old shell i am getting the error word too long .and the changes which i anm doing doesn't get updated . i am in a multi user environment so the only way to do the changes only for my shell is to do it that way. ... (1 Reply)
Discussion started by: mobydick
1 Replies

7. UNIX for Dummies Questions & Answers

.cshrc flie help

How can I set up my .cshrc file to do as the posix shell does the escape+k to scroll my command history Thanks Oh BTW, Hi I'm new to the forum. (2 Replies)
Discussion started by: Lefty
2 Replies

8. UNIX for Advanced & Expert Users

.cshrc and .login overwritten !!

Hi, My account is : abcd I belong to a group: pqrs Some thing straneg happened yesterday. My .cshrc and .login got overwritten into pqrs's .cshrc and .login I obviously did not explicitly overwrite pqrs's .cshrc. Are there any reasons how this could have happened indirectly due to... (5 Replies)
Discussion started by: gjthomas
5 Replies

9. UNIX for Dummies Questions & Answers

how to specify header directory in .cshrc

in my .cshrc file, i can set my library files directory like this : setenv LD_LIBRARY_PATH "/usr/openwin/lib" now i want to specify my header files directory. please teach how to set it and what/how is the syntax thank u (1 Reply)
Discussion started by: champion
1 Replies

10. Shell Programming and Scripting

cshrc

where are my .cshrc files ? (4 Replies)
Discussion started by: cubicle^dweller
4 Replies
Login or Register to Ask a Question