Tuesday, July 15, 2025
HomeBusinessUseful command line keyboard shortcuts

Useful command line keyboard shortcuts

Date:

Related stories

Discover the Magic of Gaming and Earning with 92 Pak Game

Introduction to a New Era of Entertainment and Rewards In...

How Gamified Promotions Drive Player Engagement and Excitement

Understanding Gamified Promotions in Online Casinos In the highly competitive...

92 Pak Game: The Best Ways to Earn XP Fast

Earning XP quickly in the 92 Pak Game is...

UFABET: A Comprehensive Guide to Online Casino Games

In the vast world of online gambling, In the...

What Makes Joospin Casino Australia Stand Out

Introduction to Joospin Casino Australia In the rapidly evolving world...
spot_img

I use these bash keyboard shortcuts every day and they save me plenty of time, so I find them worth sharing. Even if you’re developing on Windows, you can have (similar) experience of the Linux bash using the Cygwin tool.

CTRL + R, then arrow up/down
Search in the history of bash commands. Press CTRL + R, type a couple of letters, and the most recent matching command jumps out of history. Press CTRL + R again, and you get older result matching your search string. Once you find your command, you hit either Enter to execute the command directly from reverse search, or any other key to keep it in the command line and be able to edit it (I usually use ESC or right/left arrow or the End key). I use this all the time to recall my previous mysql and ssh commands, or other ones which are too long to type. You can use any keyword inside the command when searching.

Arrow Up / Down
Load previous / next commands from the bash history.

TAB
Autocomplete for commands or filenames. Type first letter(s) and hit TAB. If there are multiple choices matching your first letters, hit TAB again to see the list of them.

CTRL + Arrow Left / Right
Move the cursor word-after-word in the command line. On Mac OS X: ALT + Arrow Left / Right, or ESC + B and ESC + F.

HOME or CTRL + A
Move cursor to the beginning of the line. Only CTRL + A on Mac OS.

END or CTRL + E
Move cursor to the end of the line. Only CTRL + E on Mac OS.

CTRL + K
Delete everything after the cursor (right to the cursor).

CTRL + U
Delete everything before the cursor (left from the cursor).

CTRL + W
Delete only 1 word immediately before the cursor.

CTRL + Y
Undo a deletion, sometimes useful.

CTRL + L
Clear screen, works like the “clear” command.

CTRL + C
Kill the current process.

CTRL + D
Pressed on an empty line: log out from the current terminal. Works pretty much the same as the “exit” command.

Do you have any other favorites which are not mentioned here? Feel free to share them in the comments.

Latest stories

spot_img
Sabung Ayam Online Live Casino Online Live Draw Hk Live Casino Online Mpo Slot Judi Bola Online Sabung Ayam Online Live Draw Hk Live Casino Online Mahjong Ways Judi Bola Online Sabung Ayam Online Live Casino Online Judi Bola Online Mahjong Ways 2 Live Draw Hk Live Casino Online Mahjong Ways Judi Bola Online Sabung Ayam Online Judi Bola Online Sv388 trik jitu emak emak tangkap jp scatter hitam nikmati strategi gacor mahjong ways ala yuni jasmine rayyan menjadi inspirasi pola gacor scatter hitam ayo coba pola gacor mahjong wins ala fuji coba racikan pola gacor mahjong ways 2 dari peternak sapi kebumen stafoge pakai metode via dana terbukti lebih bocor scatter mahjong ways frank van sukses transfer pemain berkat pola scatter hitam Kisah Budi menang Veloz dari Mahjong Perjalanan Kkajhe di Mahjong Ways 2 Hoho sukses temukan trik Mahjong belajar trik spin kecil tono sukses miliki peternakan sapi berkat scatter hitam mahjong ways kisah unik kades bertari yang sukses kelola bumdes dengan scatter hitam mahjong ways