2017-03-08

My SHELL environment in HP-UX 11.31

Been having a hard time with absolute path for certain commands, and few errors I encountered using vi, and backspace key, so I decided to use my /home/mmond/.profile

[mmond@sol /home/mmond]# vi .profile
".profile" 11 lines, 176 characters
HISTSIZE=1024
HISTFILE=$HOME/.sh_history
PATH=/usr/sbin:$PATH

PS1="[`logname`@`hostname` "'${PWD}]# '
export HISTSIZE HISTFILE PS1
stty columns 160
stty erase ^?

How to define backspace and delete keys can be found here .  The rest of it can be found on Thomas Vogt's blog.

No comments:

Post a Comment