The List Of Useful Bash Keyboard Shortcuts

bash keyboard shortcuts

13 Responses

  1. remram44 says:

    What version of bash/readline are you using? Those are either incorrect or you’re using a completely different shell from the rest of us…

    • sk says:

      GNU bash, version 4.4.18(1)-release. Could you please tell me which one is incorrect? I will update it asap.

      • Jay says:

        I noticed a lot of those shortcuts don’t work for me either… It’s likely that its because I have “set -o vi” in my .bash_profile though (vi command mode)…

  2. ernie says:

    Thank you Buddy for this useful information. Please keep doing a great job! Cheers to the good life!

  3. Mr Perl says:

    ESC-T only *rings the bell* on my tcsh shell

  4. Some says:

    25. CTRL+Z – Stops the current command.

    You may very well know this shortcut. It kills the currently running command. You can resume it with fg in the foreground or bg in the background.

    No, it does not kill. It suspends.

  5. Someone says:

    many thanks for article.
    ALT+B – Move one WORD before the cursor.
    ALT+F – Move forward WORD character.

  6. Bhavana says:

    How to move forward/backward by one space?

  7. jwh says:

    Hello, SK, I’m a beginner of GIT bash. I hope to reprint your notes in Chinese. I will indicate the source of reprint. Do you agree?

  8. jwh says:

    Thanks a lot

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.