ncat and bash
parent
71bec40fd4
commit
59e4695ef5
|
@ -1,11 +1,13 @@
|
||||||
# Applications
|
# Applications
|
||||||
|
|
||||||
[Neovim](neovim.md): like `vim`.
|
[bash](bash.md)
|
||||||
|
|
||||||
[git](git.md)
|
[git](git.md)
|
||||||
|
|
||||||
[tmux](tmux.md)
|
[tmux](tmux.md)
|
||||||
|
|
||||||
|
[Neovim](neovim.md): like `vim`.
|
||||||
|
|
||||||
[bat](https://github.com/sharkdp/bat): `cat` with colors.
|
[bat](https://github.com/sharkdp/bat): `cat` with colors.
|
||||||
|
|
||||||
[fd](https://github.com/sharkdp/fd): simple `find`.
|
[fd](https://github.com/sharkdp/fd): simple `find`.
|
||||||
|
@ -18,6 +20,8 @@
|
||||||
|
|
||||||
[tldr](https://github.com/tldr-pages/tldr): simple `man`.
|
[tldr](https://github.com/tldr-pages/tldr): simple `man`.
|
||||||
|
|
||||||
|
[Ncat](ncat.md)
|
||||||
|
|
||||||
[HTTPie](https://httpie.org/): call API.
|
[HTTPie](https://httpie.org/): call API.
|
||||||
|
|
||||||
[rsync](rsync.md)
|
[rsync](rsync.md)
|
||||||
|
|
|
@ -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"
|
||||||
|
```
|
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue