Working with KSH

Here are the shortcuts that were of utmost importance to get me productive with KSH:

“stty erase ^?” to remove the ‘^?’ symbol when the backspace key is pressed.

“Ctrl-p” shows the previous command that you typed, pressing several time will get you sequentially to older commands

“Ctrl-n” shows the next command in case you used “Ctrl-p”, i.e. navigates forward

“Ctrl-b” moves the cursor back one character

“Ctrl-f” moves the cursor forward one character

Here is a screenshot of a table that contains most of the shortcuts

Note: Not all of them work, like the reverse search, have no idea why yet.

Source: http://www.bigsmoke.us/readline/shortcuts

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Unix and tagged , , , . 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