Strange output on csh startup

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

[terragalleria@server1 ~]$ csh
dircolors: `/var/www/vhosts/': No such file or directory
egrep: /var/www/vhosts/ 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 ?

Question by:qtluong
    LVL 38

    Accepted Solution

    Those files are sourced for  starting a C shell.

    Author Comment

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

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    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…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now