O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

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

Editing the Command Line

The tcsh command line editing feature is similar to that of bash (and zsh, as you will see in the next chapter). You can use either GNU emacs-style commands or vi-style commands. The default is emacs, but you can change this easily with the bindkey builtin. If you are using emacs-style bindings, you can change to the vi commands with bindkey –v. Similarly, if you are using vi-style bindings, you can change to emacs with bindkey –e. The ARROW keys are bound to the obvious motion commands, so you can move back and forth (up and down) through your history list as well as left and right in the current command.

The bindkey builtin, without an argument, displays the current mappings between editor commands and the key sequences ...

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