Showing posts with label AIX tips. Show all posts
Showing posts with label AIX tips. Show all posts

Tuesday, 24 May 2011

Two ways to request the ASCII character version of SMIT


Let the question be:
Specify two ways you can request the ASCII character version of SMIT from an X-windows environment command prompt:
Answer is:
#smitty
#smit -C

Friday, 20 May 2011

How to use alias in the Korn shell?

You can use alias in korn shell by 2 steps:




Step 1: Add in $HOME/.kshrc : alias  l='ls -l'   
Step 2: Add in $HOME/.profile: export ENV=$HOME/.kshrc

How to change the prompt in AIX

Here is the method

Add in $HOME/.profile : export PS1=`hostname`:'$PWD#  '


Note: don't forget the ' before the $