How to Display Some Info in AIX Prompt

  • by

By default, there's little information in prompt for a new user. Usually, I changed the prompt into this:

$ vi ~/.profile
export PS1=$USER@`hostname -s`:'$PWD>'

To make it take effect immediately, we can do this:

$ . ~/.profile

Leave a Reply

Your email address will not be published. Required fields are marked *