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



Comments

Popular Posts