O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Editing Commands

Terminal Requirements

Command History File

The fc Command

In-Line Editor

One of the major features of the Korn shell is the ability to manipulate current and previous commands using the built-in editors and the fc command.

If you make a mistake on the current command line, instead of having to backspace to fix it, or killing the entire line and starting over, you can use the in-line editor to make the correction much more quickly and efficiently.

If you want to re-execute a command, instead of having to type it in all over again, you can use the command re-entry feature to call it back up. You can even make changes to it before re-executing!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required