in case you don't like your Linux prompt , you can change that in very easy way .
you just need to export & declare the PS1 environment parameter.
e.g.
export PS1='$USER@$HOSTNAME $PWD >'
will give you prompt like this:
root@myLinux /usr/src >
you can change your prompt to be as you want .
sometime the current shell could not show you the previous command when you press the up arrow key, to make it work ,in the shell prompt type:
set -o emacs
No comments:
Post a Comment