10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file which is basically .cshrc
It contains lines such as:
setenv <variable> <value>...
set path=(<dir> <dir>)
source <another_file>... (1 Reply)
Discussion started by: kshitij
1 Replies
2. UNIX for Dummies Questions & Answers
I am using Redhat 4.1.2, tcsh shell
To add a program to my path, I added the following line to my .cshrc file:
set path = (/home/R/R-2.11.0/bin/ /home/R/R-2.11.0/library)
It worked, I am able to run the program I wanted. But the pathway above overwrote all other existing paths - so I can no... (1 Reply)
Discussion started by: Euphoria
1 Replies
3. Shell Programming and Scripting
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. Shell Programming and Scripting
Hello everyone,
I write a ~/.cshrc for set class path to run my java application. The file is listed below.
setenv YFILTER_HOME ~/yfilter-2.0
setenv PATH "$YFILTER_HOME/bin:$PATH"
setenv CLASSPATH... (1 Reply)
Discussion started by: perl0101
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I use a specific utility in my .cshrc for setting up the right fonts and I believe it's sufficient to run it once for a whole session.
Since I have sourced it in my .cshrc, it runs every time I do a source of .cshrc or invoke every new terminal.
To resolve this issue, I thought of... (1 Reply)
Discussion started by: oldtrash
1 Replies
6. UNIX for Dummies Questions & Answers
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
7. UNIX for Dummies Questions & Answers
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
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. Shell Programming and Scripting
where are my .cshrc files ? (4 Replies)
Discussion started by: cubicle^dweller
4 Replies
10. UNIX for Dummies Questions & Answers
I am learning the CVS in Unix now, but in the book it said I need to add the CVSROOT to the end of the .cshrc file. I had use emacs to edit it and add CVSROOT=/CVS, but when I run script .cshrc then it said CVSROOT=/CVS: Command not found. I had already think that for a hour, so could any person... (1 Reply)
Discussion started by: a8111978
1 Replies