diff --git a/README.md b/README.md index 5ea0021..def38c6 100644 --- a/README.md +++ b/README.md @@ -3109,7 +3109,7 @@ Credits: fossbytes & RehanSaeed/

Special characters 🔣

+ +> **Note**
+> └─> = or + @@ -4032,7 +4036,7 @@ Inspired by RehanSaeed/ - + @@ -4289,17 +4293,17 @@ Inspired by RehanSaeed/ --- -## Online Cheat Sheet :feelsgood: for quick references of commands and codes +

Online Cheat Sheet for quick references of commands and codes

[cheat.sh](https://github.com/chubin/cheat.sh)
![image](https://user-images.githubusercontent.com/18756975/200065767-13a6249f-2188-4206-8073-1714be57c408.png)
-_**Terminal**_: +_**Terminal**_ : ```bash curl cht.sh/keyword # or curl cheat.sh/keyword ``` -_**Browser**_: +_**Browser**_ : > [https://cht.sh/](https://cht.sh/)keyword
> or
@@ -4308,44 +4312,104 @@ _**Browser**_: # ### Offline usage [Install](https://github.com/chubin/cheat.sh#installation) cheat script manually
-_**Install globally(all users)**_: +_**Install globally(all users)**_ : ```bash curl -s https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh && sudo chmod +x /usr/local/bin/cht.sh ``` -_**Run**_: +_**Run**_ : ```bash cht.sh keyword ``` ->**Note** - More info on usage: +>**Note** - More info on usage : > https://cht.sh/:help +

+
+ --- -## Easily view, navigate, search :suspect: and manage history commands +### The most commonly used commands when navigating are `history`, `find`, `cd`. Here are some examples of simple alternative tools that does a better job + +

Easily view, navigate, search history commands

[htsr](https://github.com/dvorka/hstr)
![hts](https://user-images.githubusercontent.com/18756975/201403803-7f899124-3412-443c-9b6d-e60b8b2ca889.png)
-_**Install**_: +_**Install**_ : ```bash sudo apt install hstr ``` -_**Configure HSTR just by running**_: +_**Configure HSTR just by running**_ : ```bash hstr --show-configuration >> ~/.bashrc ``` -**_Usage_**: +**_Usage_** : ```bash hstr keyword ``` -On demand searching🔎: +Interactive searching🔎 : `Ctrl+R` ->**Note** - More info on usage: +>**Note** - More info on usage : > man hstr # -### A faster way to move around with [commacd](https://github.com/shyiko/commacd) + +

+
+ + +

A simple and userfriendly way to find files

+ +[fd](https://github.com/sharkdp/fd)
+ + +_**Install**_ : +```bash +sudo apt-get install fd-find +``` +_**Add binary link**_(set correct bin directory location if error) : +```bash +$(which fdfind) ~/.local/bin/fd +``` + +_**Usage**_ : + +
Arithmetic operator. Divider of arithmetic operations.
| Pipe. This is a method of chaining commands together. Connects the output (stdout) of command1 to the input (stdin) of command2. Each command reads the previous command’s output.
+ + + + + + + + + + + + + + + + + + + + + + +
Char.Description
fd fooSearch system for everything of the name foo.
fd -g|--glob foo.txtSearch for particular file name.
fd -e|--extension txtSearch for a particular file extension.
fd -H|--hiddenSearch for hidden and ignored files.
+ +>**Note** - More info on usage : + +> man fd

+# + +
+ +

A faster way to move around directories

+ +[commacd](https://github.com/shyiko/commacd) ```bash curl -sSL https://github.com/shyiko/commacd/raw/v1.0.0/commacd.sh -o ~/.commacd.sh && \ echo "source ~/.commacd.sh" >> ~/.bashrc @@ -4353,7 +4417,7 @@ curl -sSL https://github.com/shyiko/commacd/raw/v1.0.0/commacd.sh -o ~/.commacd. commacd exports three commands: forward(`,`) │ backward(`,,`) │ backward+forward(`,,,`) -_**Usage**_: +_**Usage**_ : | Description | commacd | command | | :--:| :--: | :-- | | Enter directories using| , des | | @@ -4377,13 +4441,20 @@ _**Usage**_: | on the Desktop, cd into jdk8 without hitting | └─> | cd ~/Desktop/jdk8 | | interactive mode (the one shown above). | | | ->**Note** - More info on usage: +>**Note** - More info on usage : > [shyiko.com/commacd](https://shyiko.com/2014/10/10/commacd/) ---- +# -## More bash resources :finnadie: +

+
+ +_There are many more alternative tools available that may fit your needs_ + +--- + +

More bash resources

| | | | :--: | :--: | @@ -4403,4 +4474,7 @@ _**Usage**_: | [funny-Linux-Commands](https://github.com/Debargha-Mitra-Roy/Funny-Linux-Commands) | Funny Linux Commands in Ubuntu | | [awesome-ttygames](https://github.com/ligurio/awesome-ttygames) | Unix ASCII games | +

+
+ ---