Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an Amazon EC2 instance with the 64bit Linux AMI. I changed my shell to tcsh and then set up .tcshrc with

PATH = ".:/usr/local/lib/play-1.1:$PATH"

After a

$ source ~/.tcshrc
$ echo $PATH

I can't put anything into my path and have it get picked up for some reason.

I also tried an alias:

$ ln -s /usr/local/lib/play-1.1/play /usr/local/bin/play
$ play
play: command not found

with the same result, it doesn't get picked up in my path. Am I ignorant of some global config? My experience is with CentOS so this is strange to me.

notbrain@aws-dev1: echo $PATH

notbrain@aws-dev1: ls /usr/local/bin
total 8.0K
4.0K drwxr-xr-x  2 root 4.0K Jan 28 05:41 ./
4.0K drwxr-xr-x 13 root 4.0K Jan 11 21:44 ../
   0 lrwxrwxrwx  1 root   28 Jan 28 05:41 play -> /usr/local/lib/play-1.1/play*

notbrain@aws-dev1: play
play: Command not found.

notbrain@aws-dev1: sudo play
sudo: play: command not found

notbrain@aws-dev1: /usr/local/bin/play
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~ play! 1.1,
~ Usage: play cmd [app_path] [--options]
~ with,  new      Create a new application
~        run      Run the application in the current shell
~        help     Show play help




share|improve this question
up vote 1 down vote accepted

For tcsh or csh:

set PATH = (. /usr/local/lib/play-1.1 $PATH) 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.