SPOJE.NET

Technická dokumentace

Uživatelské nástroje

Nástroje pro tento web


howto:linux:useful_commands

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revizePředchozí verze
Následující verze
Předchozí verze
Následující verzeObě strany příští revize
howto:linux:useful_commands [2017/10/09 05:55] – [Sources & External References…] harviehowto:linux:useful_commands [2020/08/12 12:27] harvie
Řádek 110: Řádek 110:
  
 <code bash>ffmpeg -video_size 1280x800 -framerate 25 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i default output.mp4</code> <code bash>ffmpeg -video_size 1280x800 -framerate 25 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i default output.mp4</code>
 +
 +open mirrored webcam:
 +
 +<code bash>mpv --vf=lavfi="hflip" tv://</code>
 +
 ==== 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 187: Řádek 192:
 <code bash>wget --spider -nd -o wget.log -e robots=off -r -p http://example.com <code bash>wget --spider -nd -o wget.log -e robots=off -r -p http://example.com
 grep -B 2 '404' wget.log | egrep -o 'https?://.*' | sort -u</code> grep -B 2 '404' wget.log | egrep -o 'https?://.*' | sort -u</code>
 +
 +=== Strip comments from C source code ===
 +<code bash>gcc -P -fpreprocessed -dMD -E file.c</code>
 +
howto/linux/useful_commands.txt · Poslední úprava: 2022/09/29 21:44 autor: gandalf