ncat and bash

main
Tran Hau 2020-05-09 01:38:55 +07:00
parent 71bec40fd4
commit 59e4695ef5
3 changed files with 34 additions and 1 deletions

View File

@ -1,11 +1,13 @@
# Applications
[Neovim](neovim.md): like `vim`.
[bash](bash.md)
[git](git.md)
[tmux](tmux.md)
[Neovim](neovim.md): like `vim`.
[bat](https://github.com/sharkdp/bat): `cat` with colors.
[fd](https://github.com/sharkdp/fd): simple `find`.
@ -18,6 +20,8 @@
[tldr](https://github.com/tldr-pages/tldr): simple `man`.
[Ncat](ncat.md)
[HTTPie](https://httpie.org/): call API.
[rsync](rsync.md)

12
Applications/bash.md Normal file
View File

@ -0,0 +1,12 @@
# Bash
Read [Bash](https://wiki.archlinux.org/index.php/Bash).
Read [Default Keyboard Shortcuts for Bash](https://catonmat.net/ftp/readline-emacs-editing-mode-cheat-sheet.pdf).
Add to `~/.bashrc`:
```bash
export HISTCONTROL=ignoreboth:erasedups
export HISTIGNORE="cd:cd *:ls:ls *:pwd:exit"
```

17
Applications/ncat.md Normal file
View File

@ -0,0 +1,17 @@
# Ncat
Read [Ncat](https://nmap.org/ncat/).
It is included in [nmap](https://www.archlinux.org/packages/extra/x86_64/nmap/).
Check connection to host port:
```sh
ncat -zv host post
```
Example:
```sh
ncat -zv google.com 80
```