Environmental variable

i want to set environmental variables in solaris and redhat.

it should show the current directory and the default shell should be bourne shell. along with it should show the hostname..

like this

hostname{/home/vipin/data}# ifconfig

Thanks in advanced.:wall:

Check out the PROMPTING section of the man page,