home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!concert!duke!bfl
- From: bfl@duke.cs.duke.edu (Brian Loss)
- Newsgroups: comp.unix.shell
- Subject: Re: Problem to alias
- Message-ID: <715724541@majors1.cs.duke.edu>
- Date: 5 Sep 92 20:22:22 GMT
- References: <1992Sep5.144042.3171@leland.Stanford.EDU>
- Organization: Duke University Computer Science Dept.; Durham, N.C.
- Lines: 26
-
- In article <1992Sep5.144042.3171@leland.Stanford.EDU> peer@ccrma.stanford.edu (Peer Landa) writes:
- >
- >I have some problem to alias the following command:
- >rsh remote_host dir/App -NXHost current_host&
- >
- >
- >In my .cshrc I tried to:
- >alias rshh 'rsh \!:1 \!:2 -NXHost hostname&'
- > . but it doesn't work. Any suggestions?
- >
- >-- peer
-
- Try this:
- alias rshh 'rsh \!:1 \!:2 -NXHost `hostname`&'
- This should cause the result of the command hostname to be substituted (I am
- assuming this is what you wanted to do.
-
-
-
-
-
- Brian Loss
- --
- Department of Computer Science, Duke University, Durham, NC 27706
- Internet: bfl@cs.duke.edu
- UUCP: mcnc!duke!bfl
-