-- Leo's gemini proxy

-- Connecting to g.codelearn.me:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Terminal tips and tricks


Hey.


Below I've listed couple of ways to use terminal that some people may not know about. These "technics" I use a lot in may daily hacking. So let's start.


**CTRL+R** allows you to search through command history. Here is the demo:


You can go deeper in history with the same keystroke (CTRL+R). To go forward in history press **CTRL+S**


This keystroke I just can't live without and use it all the time.


If you'll replace **CTRL** with **ALT** for arrow left/right keys you will be able to follow back and forth word by word.


Here is more tips:


You can also use **ALT** key with **BACKSPACE** which will delete WORD instead of SYMBOL.


You can remove symbol under cursor with **CTRL+D**.


Using **CTRL+A** will move your cursor to the beginning of the command line


**CTRL+K** will remove everything from cursor to the end of command line


So, using **CTRL+A** + **CTRL+K** removes everything you already entered, which is much faster than long press on backspace.


Just a **clear** command, which clears your terminal window. I like when my typing happens at the top of terminal window 😜 so it is very useful for me. I hope it can be something good for you as well.

-- Response ended

-- Page fetched on Sat May 11 07:37:46 2024