Skip to Content
Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line
book

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

by Philip Kirkbride
August 2020
Beginner
376 pages
6h 59m
English
Apress
Content preview from Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line
© Philip Kirkbride 2020
P. KirkbrideBasic Linux Terminal Tips and Trickshttps://doi.org/10.1007/978-1-4842-6035-7_3

3. History and Shortcuts

Philip Kirkbride1 
(1)
Montreal, QC, Canada
 

In this chapter, we’re going to look at using shell history, built-in keyboard shortcuts for bash terminal, and file globbing. These techniques will help you move faster as you enter new commands, repeat past ones, or modify partially written ones.

History

It’s great having lots of useful commands at your fingertips, but with so many it’s easy to lose track. That’s where the history command comes in handy. The history command should come preinstalled on most Linux systems. Running the command returns a list of your last run commands.

By default most systems will only ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Working with Linux ??? Quick Hacks for the Command Line

Working with Linux ??? Quick Hacks for the Command Line

Petru I»ôfan, Bogdan Vaida

Publisher Resources

ISBN: 9781484260357Purchase LinkPublisher Website