ksh…

Got back to use windows…

Use putty ssh to Unix server.

Tab completion, up-down arrow history are not working. I thought the putty configuration is not correct.  One hour tuning the config, not working. Then I realized maybe the shell is not bash…

Echo $0

Ksh…..
Wtf ksh is… Ancient shell language.

Uname gives AIX… No wonder. IBM machine.

Now the solution is clear. “chsh” to find the available shells. Luckily bash is available in “/use/bin/bash”. Add “/usr/bin/bash” to the first line of ~/.profile.

Mission complete!
I am expecting more troubles using windows and AIX…

Advertisements

About cgao

Cambridge, MA
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s