Thread: .cshrc file

    #1
  1. No Profile Picture
    the ^ user
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Location
    f(x)
    Posts
    363
    Rep Power
    16

    .cshrc file


    Hello everyone,

    how can I access .cshrc file in my home directory? I need to modify it to adjust my environment. I assume this file is present, but when I try "pico .cshrc" there is nothing there! I also tried searching for it in all hidden files and still nothing. Oh, yeah, it is a school machine, so they do assume that it is present.

    Thanks in advance.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2004
    Location
    Middle Europa
    Posts
    1,198
    Rep Power
    17
    a) i don't know 'piko'
    b) .cshrc is the initializing file (rc = run cmd) for the csh
    normally resides in the user home dir, when not there create it
    pay attention on syntax, csh never was a good scripting shell
    sure you will find a lot of templates.
  4. #3
  5. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,782
    Rep Power
    4301
    First make sure you're using csh or tcsh as your shell. Won't do you any good to edit $HOME/.cshrc, if you're using bash as your shell .
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Location
    USA
    Posts
    334
    Rep Power
    14
    .cshrc and .login may or may not be present in your home directory. If they are not present, you should simply create
    them (with the appropriate permissions) and the C shell
    will use them.

IMN logo majestic logo threadwatch logo seochat tools logo