I just started using NPUM in the job, and I realized it is pksh based, which can be a little strange to use at first. Here’s how you can refine a few things to make this great tool even better.

At the first login, I noticed some points:

1. No hostname in the prompt
2. No $PWD in the prompt
3. No command autocomplete
4. Several missing commands


As always I need to confirm where I am:

[billy@]$ echo $SHELL
[billy@]$ file /usr/bin/rush
/usr/bin/rush: symbolic link to `/usr/bin/pcksh'


I told you!

So, point 1 and 2

We need to manually set the prompt. I used this (In ~/.profile):

export PS1='${USER}@${HNAME%%.*}:/${PWD##*/} $ '


Much better, right?

Point 3

At this point, I tested some vim stuff but it really didn’t convince me, finally I used:

bind ^i=complete

Login again or:

source ~/.profile

I missed you TAB!

Point 4
That is what NPUM does!

Do you have more improvements? Share them!

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
Jun 24, 2013
11:15 am
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Sentinel Supported Troubleshooting Workflow