[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

hostname and bash prompt



hello!

here are my files /etc/hosts, and /etc/hostname

hosts:
127.0.0.1 localhost 192.168.1.21 deshmukh.work deshmukh.work

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

hostname:
deshmukh.work


now, my question is, why does my prompt in bash does not show deshmukh.work?

my login prompt is just sandip@deshmukh!

thanx in advance

-sandip



Reply to: