home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!relay!relay2!afterlife!adm!news
- From: HERBER@fnal.fnal.gov (Randolph J. Herber, CD/DCD/SPG, x2966)
- Newsgroups: comp.sys.sgi
- Subject: RE: Command not found, but file exists - Need Info
- Message-ID: <34723@adm.brl.mil>
- Date: 16 Dec 92 21:52:48 GMT
- Sender: news@adm.brl.mil
- Lines: 48
-
- +From: Oliver Kretzschmar <wnkretz@ikesg1.energietechnik.uni-stuttgart.de>
- +Newsgroups: comp.sys.sgi,comp.sys.sgi.admin,comp.sys.sgi.misc
- +Subject: Command not found, but file exists - Need Info
- +Date: 16 Dec 92 10:59:13 GMT
-
- + Hey,
-
- + could somebody tell how I can make executable files available ?
- + We use IRIX 4.04 ! Following happens :
-
- + - I copy a programm in a directory
- + - Change to this directory
- + - Want to run this program, but "Command not found" message
- + appears
- + - Then I can run the program with ./<name of program>, but
- + exists there no possibility to make this program at once
- + available ?
-
- + Please mail me your informations !
-
- + Thanks for your efforts,
- + Oliver
-
- + NAME : O.Kretzschmar Inst.IKE / University Stuttgart
- + PHONE: +49 711 685 2130 Pfaffenwaldring 31
- + FAX : +49 711 685 2010 7000 Stuttgart 80
- + EMAIL: wnkretz@ikesg1.energietechnik.uni-stuttgart.de
-
- The problem is common with `csh'. Neither `sh' not `ksh' have the problem.
-
- The answer is RTFM:
-
- CSH(1) Silicon Graphics CSH(1)
-
- NAME
- csh - a shell (command interpreter) with C-like syntax
-
- rehash
- Causes the internal hash table of the contents of the directories in
- the path variable to be recomputed. This is needed if new commands
- are added to directories in the path while you are logged in. This
- should only be necessary if you add commands to one of your own
- directories, or if a systems programmer changes the contents of one of
- the system directories.
-
- Randolph J. Herber, herber@fnalf.fnal.gov, +1 708 840 2966
- (Speaking for myself and not for US, US DOE, FNAL nor URA.)
- (Product, trade, or service marks herein belong to their respective owners.)
-