Màj 06-04-2024
This commit is contained in:
38
docs/Synology/dsm7/cli-tools.md
Normal file
38
docs/Synology/dsm7/cli-tools.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# SynoCli Tools
|
||||
|
||||
|
||||
|
||||
### SynoCli File Tools
|
||||
|
||||
less, tree, ncdu, jdupes, fdupes, rhash, mc (midnight commander), mg (emacs-like text editor), nano, jupp (based on JOE - Joe's Own Editor 3.1), file, detox, pcre2, zstd, lzip, plzip, detox, iconv, dos2unix tools, lsd, bat, eza, rmlint, nnn (n³), micro (editor), fzf (fuzzy finder), rg (ripgrep), fd (fd-find), sd (sed alternative), rnm.
|
||||
|
||||
### bat
|
||||
|
||||
https://github.com/sharkdp/bat
|
||||
|
||||
```bash
|
||||
$ bat --generate-config-file
|
||||
Success! Config file written to /var/services/homes/bruno/.config/bat/config
|
||||
```
|
||||
|
||||
```bash
|
||||
$ bat --config-file
|
||||
/var/services/homes/bruno/.config/bat/config
|
||||
|
||||
$ bat --config-dir
|
||||
/var/services/homes/bruno/.config/bat
|
||||
```
|
||||
|
||||
#### nano
|
||||
|
||||
Coloration syntaxique: https://github.com/scopatz/nanorc/
|
||||
|
||||
```bash
|
||||
$ cd ~
|
||||
$ mkdir .nano
|
||||
$ install_path=~/.nano/
|
||||
$ git clone https://github.com/scopatz/nanorc.git $install_path
|
||||
|
||||
$ cat $install_path/nanorc >> ~/.nanorc
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user