Using Readline Functions in Bash

Tutorial – Readline

Article from Issue 232/2020
Author(s):

Readline provides you with a rich set of tools for working with text and moving around quickly and efficiently on the command line.

Try this: Open a terminal window and type the following at the prompt:

ls non-existent_dir

Then move your cursor back to the space between ls and non-existent_dir and press Ctrl+K. Next hit Ctrl+Y and see what happens.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News