[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Strange output on csh startup

Posted on 2006-03-22
2
Medium Priority
?
249 Views
Last Modified: 2013-12-15
Whenever I start csh, I get this strange output, like some programs got executed

[terragalleria@server1 ~]$ csh
hello
hello
hello
hello
hello
hello
dircolors: `/var/www/vhosts/terragalleria.com/.dir_colors.xterm-color': No such file or directory
egrep: /var/www/vhosts/terragalleria.com/.dir_colors.xterm-color: No such file or directory

Same happens on call of any script written in csh. However, there is no .cshrc file and the .login file is limited to setting a path and running .tcshrc, which in turn contains nothing but a list of alias. I am running Red Hat EL 4. I assume there is a file that csh is executing, but which one ?

Tuan.
http://www.terragalleria.com
0
Comment
Question by:qtluong
2 Comments
 
LVL 38

Accepted Solution

by:
wesly_chen earned 2000 total points
ID: 16285778
check
/etc/csh.cshrc
/etc/csh.login
/etc/profile.d/*.csh
Those files are sourced for  starting a C shell.
0
 

Author Comment

by:qtluong
ID: 16286201
Yes, there was something wrong in /etc/profile.d/colorls.csh
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month20 days, 5 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question