Link to home
Create AccountLog in
Avatar of qtluong
qtluong

asked on

Strange output on csh startup

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
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of qtluong
qtluong

ASKER

Yes, there was something wrong in /etc/profile.d/colorls.csh