Thursday, June 13, 2013

ksh - .profile and bash

If you know that your ksh support bash and you prefer bash comparing to vi or emacs editior setting, you can enable your bash in ksh by typing bash in your shell interface







Above is an example to enabling bash in ksh. 

Comparing to vi or emacs editor mode, bash has the default functions such as tab-completion, up history and down history. 

If you prefer to use vi or emacs editor mode, see http://thompsonng.blogspot.sg/2013/06/ksh-vi-tab-completion.html

In ksh, your person setting will be store in .profile under your home directory.

You can use the following setting to go to your home directory and open .profile via vi editor


In your .profile, add the following to load bash when your ksh startup



No comments:

Post a Comment

Oracle - Reclaim disk space

Oracle does not release disk space even if you had delete the data or tablespace. If you have enterprise manager, you should use it to  rec...