![]() |
I’ve been using bash for years, and I still haven’t come anywhere close to mastering the full range of available command line keyboard shortcuts. I’ve found the best way to get more under my fingers is to note a few on a Post-It stuck to the monitor, and then swap it for another one at intervals.
Tip of the Trade: Bash has a wide array of available command line keyboard shortcuts. Here are some to post near your monitor.
Here, are a few useful candidates.
(C = control key, M = alt/meta key.)
Recent Tips » LDAP Master Server » Perltidy » IPTraf Read All Tips of the Trade |
I learned some new shortcuts while researching this, so hopefully you learned
something useful, too!
Ed Note: A quick note about the Perltidy tip from a fortnight ago. Thanks to
Randal L. Schwartz for pointing out it’s a good idea to set up tests for your code, to check that it does the same thing after Perltidy is
finished as it did before. As he discusses here, ultimately the only thing that can interpret Perl code entirely reliably is the Perl interpreter itself. So be aware that there are circumstances in which Perltidy (and similar programs) can break code!
Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.