The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: set, setenv
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-31-2002
w6u6f w6u6f is offline
Registered User
 

Join Date: Jan 2002
Posts: 1
Wink set, setenv

Well first of all I am a real Unix newbie. I am taking a course on it in University. I kind of understand set and setenv but, I think it si something that I should really understand. So I thought that I would try a forum out and see how good you guys really are.

The question:
Execute the following commands:
set > file.set
setenv > file.setenv
Explain as much as you can when you cat these two files.

So I took a look at file.set and I found:
argv ()
cwd /homes/e/ee325328/assignment.2
home /homes/e/ee325328
path ( a whole bunch of paths)
prompt sol%
shell /bin/csh
status 0
term ansi
user ee325328

file.setenv contains:
HOME=/homes/e/ee325328
PATH=bla bla
LOGNAME=ee325328
_INIT_PREV_LEVEL=S
_INIT_RUN_LEVEL=3
_INIT_RUN_NPREV=0
_INIT_UTS_ISA=sparc
_INIT_UTS_MACHINE=sun4d
_INIT_UTS_NODENAME=sol
_INIT_UTS_PLATFORM=SUNW, SPARCserver-1000
_INIT_UTS_RELEASE=5.7
_INIT_UTS_SYSNAME=SunOS
_INIT_UTS_VERSION=Generic_106541-19
PWD=/homes/e/ee325328/assignment.2
USER=ee325328
OPENWINHOME=/usr/openwin


Now.... I get most of the basic stuff HOME, cwd, prompt
Some of the other stuff I am not too sure about though. I would really appreciate it if you guys helped me out with this one. Thanks

(Just as future reference, I am actually using XP and I just telnet to a computer on the university. How would I copy the text from my telnet window to something like this? Or this this a lot harder then I think. Thanks)
Forum Sponsor