Editing the Command Line
You can reexecute any event in the history list. This feature can save you time, effort, and aggravation. Not having to reenter long command lines allows you to reexecute events more easily, quickly, and accurately than you could if you had to retype the entire command line. You can recall, modify, and reexecute previously executed events in three ways: You can use the fc builtin (covered next); the Readline Library, which uses a one-line vi- or emacs-like editor to edit and execute events (page 598); or the TC Shell commands (page 594). If you are more familiar with vi or emacs and less familiar with the TC Shell, use fc or the Readline Library. If you are more familiar with the TC Shell and less familiar with vi and ...
Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.