Header Shadow Image


Modify or Set AIX Prompt

Here's an example of a clean prompt for use in AIX in a mixed-environment setup:

PS1="[ $(uname) $(whoami)@${HOSTNAME}:\$PWD ] "
export PS1
set -o vi

Looks like this:

[ AIX root@mdsnim01 : guest ]

Cheers,
TK

REF: Softpanorama KSH Substitutions

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License