home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / amiga / 2366 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.unix.amiga
  2. Path: sparky!uunet!sybus.sybus.com!myrddin!tct!ckctpa!crash
  3. From: crash@ckctpa.UUCP (Frank "Crash" Edwards)
  4. Subject: Re: Remote shell problems. HELP!!!!
  5. Message-ID: <1992Nov8.045646.515@ckctpa.UUCP>
  6. Date: Sun, 8 Nov 1992 04:56:46 GMT
  7. Reply-To: crash%ckctpa@tct.com (Frank "Crash" Edwards)
  8. References: <19226.2afa70ba@levels.unisa.edu.au>
  9. Organization: Edwards & Edwards Consulting
  10. Lines: 28
  11.  
  12. Sorry, but I can't help with the original problem re: rsh causes two
  13. processes, one of which is <defunct>, but...
  14.  
  15. etac@levels.unisa.edu.au (Andrew Chalmers) writes:
  16. >I have a sh script 'test' with #!/bin/sh on the first line. It has execute
  17. >privelege set.  I type 'test' at the prompt of csh or tcsh it SHOULD start
  18. >up a sh shell and run the script.  However all I actually get is the
  19. >prompt back. It doesn't even execute it as a csh script.  It just does
  20. >nothing. If I use 'csh test' or 'source test' it just run the script
  21. >as if it were an csh script.
  22. >
  23. >Question: Does anyone know what is going on?
  24. >          Is it a problem I'm able to fix?
  25.  
  26. Yeah, (heh-heh-heh) don't call it "test"!!  That is a command built-in
  27. to the shell.  For example, try typing "type test" at the Bourne or
  28. Korn shell command prompt.  See what it says.  Then read the man page
  29. for the shell an look at the order in which commands locations are
  30. searched; the PATH variable is last.
  31.  
  32. >Thanks
  33. >Andrew Chalmers.
  34.  
  35. -- 
  36. Frank "Crash" Edwards            Perceptual Technologies, Inc.
  37. Fax:  813/786-6526               [Our office is moving; watch this space
  38. Home: 813/786-3675               for the new phone number.]
  39.     "The beast of Tenagra.  Rozauni; his army.  Chaka; when the walls fell."
  40.