$ set BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_COMPLETION=/etc/bash_completion BASH_COMPLETION_DIR=/etc/bash_completion.d BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="39" [3]="1" [4]="release" [5]="i486-pc-linux-gnu") BASH_VERSION='3.2.39(1)-release' COLUMNS=84 COMP_WORDBREAKS=$' \t\n"\'><=;|&(:' CVSROOT=:pserver:ja...@integ-openex:/advent/projects/openex DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-HMP099bt0b,guid=ff9d535466a2e0001472d90d4ac32f88 DESKTOP_SESSION=default DIRSTACK=() DISPLAY=:0.0 EUID=1000 GDMSESSION=default GDM_LANG=en_IN GDM_XSERVER_LOCATION=local GNOME_KEYRING_PID=3225 GNOME_KEYRING_SOCKET=/tmp/keyring-RcVkYH/socket GNUSTEP_USER_ROOT=/home/girish/GNUstep GROUPS=()
I had to snip the output. It goes on and on in my Debian. You also need to learn this ALL IMPORTANT command. $ set -x In all the shell scripts that you develop or use, you have to add this line to figure out what is going on(Lot of debug outputs). This is a life saver, hence my capitalization. Please don't get me wrong. Also I wish to wrap up with this bit. $ var=10 $ echo $var 10 This also works in all shells. It is useful to learn the shell semantics though you don't intend to do shell scripting/programming. Learning 'set' is a great way to begin. -Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
