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 😀
Ctrl-r text Search the history (in my case ~ / .bash_history) for the last match of the string 'text'
It's true, I add it to the list .. Thank you !!!
elegance
Well, many of these combinations were unknown to me. Thank you.
Enjoy !!
I think you just missed the TAB key to autocomplete routes and commands.
Alt + Backspace deletes the first word after the cursor. I occupy it a lot ...
To exit the terminal (close it) Control + d, which is the same as typing "exit"
Anti-doping for Elav that is at Full with the tips. Very useful this. Thank you!
Thanks man, a pleasure to contribute something useful.
HAHAHA
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
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.
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
Excellent help !!! Thanks Elav
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?
They should put out a monthly magazine in PDF with the tips.
Soon we will, we had already thought about it .. 😛
ctrl-x ctrl-e
edit the command in a text editor!
Thank you
geekism has no limits
😀
The combination Ctrl + Alt + T opens a new tab in the terminal.
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
To stop a scan?
CTRL + c for the running process of that terminal