-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add post bash tricks * improve style * fix: hidden detail from article due to <
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: "Bash tricks" | ||
date: "2025-02-18" | ||
show: true | ||
tags: ["shell", "bash", "linux"] | ||
--- | ||
|
||
Notes on bash tricks that could help you become more productive by leveraging | ||
keyboard instead of using the mouse. | ||
|
||
## Creating new terminal tabs | ||
|
||
In order to create a new bash terminal tab using the keyboard one can use the | ||
following keys: | ||
|
||
- *Ctrl + Shift + t* | ||
- *C-S-t* using Emacs terminology | ||
|
||
## Switching between tabs | ||
|
||
And to switch between different terminal tabs one can use: | ||
|
||
- *Alt + tab_number* (example: *Alt + 1*) | ||
- *M-{number}* using Emacs terminology | ||
|
||
## Searching at the history | ||
|
||
Other than this, you can search through the terminal history using *C-r* which | ||
will use the **reverse-i-search** utility. | ||
|
||
## Kill a tab | ||
|
||
Finally, to kill the terminal you are currently in, the **exit** command must be | ||
enough. | ||
|
||
## References | ||
|
||
- <https://askubuntu.com/a/423532> |