howto:linux:useful_commands
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
| howto:linux:useful_commands [2016/12/29 04:42] – [Video] harvie | howto:linux:useful_commands [2022/09/29 21:44] (aktuální) – gandalf | ||
|---|---|---|---|
| Řádek 18: | Řádek 18: | ||
| * http:// | * http:// | ||
| * http:// | * http:// | ||
| + | * https:// | ||
| ===== Commands ===== | ===== Commands ===== | ||
| <note important> | <note important> | ||
| Řádek 92: | Řádek 93: | ||
| * https:// | * https:// | ||
| * http:// | * http:// | ||
| + | |||
| + | Old way, not very effective: | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | === Correct video Hue, Saturation and Brightness === | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | |||
| + | === Capture screencast using ffmpeg === | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | with sound: | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | open mirrored webcam: | ||
| + | |||
| + | <code bash>mpv --vf=lavfi=" | ||
| + | |||
| ==== CUPS Printing ==== | ==== CUPS Printing ==== | ||
| Install CUPS and you get the print server cupsd and the print commands lpstat, lpr and lpq, amongst others. I installed CUPS on two Gentoo boxes, following the Gentoo Printing Guide. On one of these machines I run the cupsd server. | Install CUPS and you get the print server cupsd and the print commands lpstat, lpr and lpq, amongst others. I installed CUPS on two Gentoo boxes, following the Gentoo Printing Guide. On one of these machines I run the cupsd server. | ||
| Řádek 169: | Řádek 192: | ||
| <code bash> | <code bash> | ||
| grep -B 2 ' | grep -B 2 ' | ||
| + | |||
| + | === Strip comments from C source code === | ||
| + | <code bash>gcc -P -fpreprocessed -dMD -E file.c</ | ||
| + | |||
| + | ==== Set date ==== | ||
| + | |||
| + | linux, udev | ||
| + | |||
| + | < | ||
| + | # timedatectl set-ntp 0 | ||
| + | # timedatectl set-time 2022-10-01 | ||
| + | </ | ||
| + | |||
| + | |||
howto/linux/useful_commands.1482982948.txt.gz · Poslední úprava: 2016/12/29 04:42 autor: harvie
