You have to execute the setenv command to display some of the environment variables (listed in Table 1.1) and their values. But the setenv command does not display all of the variables listed in the table. In order to display the values of the remaining variables, you need to you the set command. In the following session, we show the output of both commands. In the output of the set command, strings listed to the left of = are environment variable names and those to the right are their values. For example, cwd is the variable name and its current value is /home/faculty/msarwar. Similarly, the variable name that contains your shell’s search path is path and its current value is the following. (/usr/local/bin /bin /usr/bin /usr/X11R6/bin /home/faculty/msarwar/bin)
What will be an ideal response?
```
$ exec /bin/tcsh
% $ setenv | more
PWD=/home/faculty/msarwar
REMOTEHOST=172.28.15.73
HOSTNAME=reslab1.lums.edu.pk
QTDIR=/usr/lib/qt-2.3.1
LESSOPEN=|/usr/bin/lesspipe.sh %s
KDEDIR=/usr
USER=msarwar
LS_COLORS=
MACHTYPE=i386
MAIL=/var/spool/mail/msarwar
INPUTRC=/etc/inputrc
LANG=en_US
LOGNAME=msarwar
SHLVL=1
SHELL=/bin/bash
HOSTTYPE=i386-linux
OSTYPE=linux
HISTSIZE=1000
TERM=ansi
HOME=/home/faculty/msarwar
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/faculty/msarwar/bin
VENDOR=intel
GROUP=faculty
HOST=reslab1.lums.edu.pk
% set | more
_ set
addsuffix
argv ()
cwd /home/faculty/msarwar
dirstack /home/faculty/msarwar
dspmbyte euc
echo_style both
edit
gid 200
group faculty
history 100
home /home/faculty/msarwar
owd
path (/usr/local/bin /bin /usr/bin /usr/X11R6/bin /home/faculty/msarwar/bin)
prompt [%n@%m %c]$
prompt2 %R?
prompt3 CORRECT>%R (y|n|e|a)?
shell /bin/tcsh
shlvl 1
status 0
tcsh 6.10.00
term ansi
tty pts/132
uid 608
user msarwar
version tcsh 6.10.00 (Astron) 2000-11-19 (i386-intel-linux)options 8b,nls,dl,al,kan,rh,color,dspm
%
```
You might also like to view...
Every computer has an operating system
Indicate whether the statement is true or false
According to Bizrate Insights, ________ percent of Pinterest users have found an item they've purchased or wanted to buy
Fill in the blank(s) with correct word
What is not true about field names?
A) They can be up to 64 characters in length. B) They can contain numbers. C) They should describe the data they will store. D) They can begin with a space.
A Bluetooth network would be considered a type of LAN
Indicate whether the statement is true or false