Keyboard shortcuts for the console (or terminal)

We are still looking for a way to make working with the terminal easier and this time, I bring you a series of keyboard shortcuts that will make our lives happy 😀

Ctrl Go to the beginning of the line
Ctrl-e Go to the end of the line.
Ctrl-b Go back one character.
alt-b Go back one word
Ctrl-f Advance one character
alt-f Advance one word.
Alt-] x Advance to the next occurrence of character x.
Alt-Ctrl-] x Go back to the previous occurrence of the character x.
to Ctrl Delete from the cursor to the beginning of the line
ctrl-k Delete from cursor to end of line
Ctrl-w Delete from the cursor to the beginning of the word
Ctrl-Shift-V Paste the text from the clipboard
Ctrl-Shift-C Copy the text from the clipboard
Ctrl-l clears the screen
Ctrl-r Text
Search the history for the last match of the string 'text'

Useful right? If you know any other shortcut share it with us 😀


Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Dav said

    Ctrl-r text Search the history (in my case ~ / .bash_history) for the last match of the string 'text'

    1.    elav said

      It's true, I add it to the list .. Thank you !!!

    2.    FIXOCONN said

      elegance

  2.   Hugo said

    Well, many of these combinations were unknown to me. Thank you.

    1.    elav said

      Enjoy !!

  3.   linux man R4 said

    I think you just missed the TAB key to autocomplete routes and commands.

  4.   Alex said

    Alt + Backspace deletes the first word after the cursor. I occupy it a lot ...

  5.   manolox said

    To exit the terminal (close it) Control + d, which is the same as typing "exit"

  6.   crotus said

    Anti-doping for Elav that is at Full with the tips. Very useful this. Thank you!

    1.    elav said

      Thanks man, a pleasure to contribute something useful.

    2.    KZKG ^ Gaara said

      HAHAHA

  7.   Neo61 said

    This is really something new ... I am speechless and I have to do like my friend KZKG ^ Gaara, who by the way has not answered the email I sent him in the morning

    1.    KZKG ^ Gaara said

      I have two of your emails yet to respond, and next to your 2 another 6 lol ... I'm up to my neck at work ... and, if I tell you what I have tomorrow, I promise you wouldn't believe me lol.

  8.   Neo61 said

    Okay my friend, I know the little job of keeping the
    portal of desdelinux, answer questions, make tutorials, attend to the
    click, and I imagine that to the head later, it is the hell (although the last thing never works… .hehehehe), what happens that one wants to learn and learn well, tomorrow I send you how I did the script, now I'm going home, When are you going to publish another one of «script» ?, it is necessary, at least to me as I already told you

  9.   conandoel said

    Excellent help !!! Thanks Elav

  10.   Guido rolon said

    This reminds me a bit of my days of xenix and SCO unix, where the "nicest thing" was to have a korn shell on the command line and to be able to edit the previous commands executed, you had to master the ed line editor a bit. Does anyone remember him or know him? or am I already very old?

  11.   truko22 said

    They should put out a monthly magazine in PDF with the tips.

    1.    elav said

      Soon we will, we had already thought about it .. 😛

  12.   patz said

    ctrl-x ctrl-e
    edit the command in a text editor!

  13.   Nonamed said

    Thank you

    geekism has no limits

    😀

  14.   Jose R. said

    The combination Ctrl + Alt + T opens a new tab in the terminal.

  15.   Pablo suarez said

    Very interesting. Years using the console and many did not know them. You have to see that not everything is known no matter how much you use it daily. Thank you

  16.   David said

    To stop a scan?

  17.   Fernando said

    CTRL + c for the running process of that terminal