home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:15421 comp.unix.shell:5340
- Newsgroups: comp.unix.questions,comp.unix.shell
- Path: sparky!uunet!enterpoop.mit.edu!senator-bedfellow.mit.edu!bloom-picayune.mit.edu!news.mit.edu!jdell
- From: jdell@nefertiti.mit.edu (John Ellithorpe)
- Subject: Re: Impractical question about variables
- In-Reply-To: jhgreen@cs.sandia.gov's message of 9 Jan 93 13:10:04 GMT
- Message-ID: <JDELL.93Jan11124153@nefertiti.mit.edu>
- Sender: news@athena.mit.edu (News system)
- Nntp-Posting-Host: nefertiti.mit.edu
- Organization: Massachusetts Institute of Technology
- References: <1993Jan9.131004.25965@cs.sandia.gov>
- Date: Mon, 11 Jan 1993 17:41:53 GMT
- Lines: 28
-
- On 9 Jan 93 13:10:04 GMT, jhgreen@cs.sandia.gov (Jethro H. Greene) said:
- > Originator: jhgreen@cs.sandia.gov
-
-
- > With my understanding of the shell, I have come to the conclusion that this
- > can not be done with in the boundaries of UNIX. However, to be sure, I am
- > asking the Net.
-
- > What is involved in referencing a variable from another login? For example,
- > on terminal one, I type hello=world. I run over to terminal two and want
- > to know what $hello is.
-
- > Is this possible?
-
- No what you want to do I don't think is possible. But if you want to transfer
- information between logins, just use files. That's what they are there for.
- So instead of saying hello=world, use echo "world" > hello and at the
- other end just use cat hello.
-
- John
- --
-
- ===============================================================================
- John Ellithorpe | Internet: jdell@maggie.mit.edu
- Dept. of Physics, Rm 26-349 | Phone : (617) 253-3074 Office
- Massachusetts Institute of Technology | (617) 253-3072 Lab
- Cambridge, MA 02139 | (617) 236-4910 Home
- ===============================================================================
-