Here is the output of 'set' command on my shell. Might help you to debug my problem.
As you can see the path in not getting added when i put it in my $HOME/.bash_profile. But the same command works when i type it on shell.
Is there any place where i should configure .bash_profile as my configuration file for bash shell?
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="i386-pc-linux-gnu")
BASH_VERSION='3.00.16(1)-release'
COLORTERM=gnome-terminal
COLUMNS=80
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GSanEjNxSJ
DESKTOP_SESSION=default
DIRSTACK=()
DISPLAY=:0.0
EUID=0
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-0l0bjm/socket
GROUPS=()
GTK_RC_FILES=/etc/gtk/gtkrc:/home/frozen/.gtkrc-1.2-gnome2
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=FR0Z3N
HOSTTYPE=i386
IFS=$' \t\n'
LANG=en_IN
LANGUAGE=en_IN:en
LINES=24
LOGNAME=root
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36

i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01

r=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:'
LS_OPTIONS=--color=auto
MACHTYPE=i386-pc-linux-gnu
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
PIPESTATUS=([0]="0" [1]="0")
PPID=7582
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w \$ '
PS2='> '
PS4='+ '
PWD=/home/frozen
SESSION_MANAGER=local/FR0Z3N:/tmp/.ICE-unix/7335
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SSH_AGENT_PID=7380
SSH_AUTH_SOCK=/tmp/ssh-jetZAB7335/agent.7335
SUDO_COMMAND=/usr/bin/x-terminal-emulator
SUDO_GID=1000
SUDO_UID=1000
SUDO_USER=frozen
TERM=xterm
UID=0
USER=root
USERNAME=frozen
WINDOWID=44040289
XAUTHORITY=/tmp/libgksu1.2-SHDdVl/.Xauthority
_=