home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3831 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.0 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!concert!duke!bfl
  2. From: bfl@duke.cs.duke.edu (Brian Loss)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: Problem to alias
  5. Message-ID: <715724541@majors1.cs.duke.edu>
  6. Date: 5 Sep 92 20:22:22 GMT
  7. References: <1992Sep5.144042.3171@leland.Stanford.EDU>
  8. Organization: Duke University Computer Science Dept.; Durham, N.C.
  9. Lines: 26
  10.  
  11. In article <1992Sep5.144042.3171@leland.Stanford.EDU> peer@ccrma.stanford.edu (Peer Landa) writes:
  12. >
  13. >I have some problem to alias the following command:
  14. >rsh remote_host dir/App -NXHost current_host&
  15. >        
  16. >
  17. >In my .cshrc I tried to:
  18. >alias  rshh  'rsh \!:1 \!:2 -NXHost hostname&'
  19. > . but it doesn't work.  Any suggestions?
  20. >
  21. >-- peer
  22.  
  23. Try this:
  24. alias rshh 'rsh \!:1 \!:2 -NXHost `hostname`&'
  25. This should cause the result of the command hostname to be substituted (I am
  26. assuming this is what you wanted to do.
  27.  
  28.  
  29.  
  30.  
  31.  
  32. Brian Loss
  33. -- 
  34. Department of Computer Science, Duke University, Durham, NC 27706
  35. Internet:    bfl@cs.duke.edu
  36. UUCP:        mcnc!duke!bfl
  37.