home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15421 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.8 KB

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