#commandlinemagic

Axel ⌨🐧🐪🚴😷 | R.I.P Natenomxtaran@chaos.social
2025-01-29

#TIL: #xargs has an option -a to read items from a file instead of from standard input. This is perfect if you need to run xargs without a surrounding shell to provide the commonly used pipe mechanism, e.g. calling it just via exec() or similar.

My case today was with Perl's Test::Command::Simple::run_ok() in pxzgrep's TAP based test suite.

#linuxcli #cli #climagic #commandlinemagic

Axel ⌨🐧🐪🚴😷 | R.I.P Natenomxtaran@chaos.social
2024-11-15

If you're a #Linux person and using the command "ps" with options like "aux" instead of e.g. "-e" (i.e. options without leading "-"), you likely learned the #Unix #commandline on #BSD or maybe SunOS 🧔. (Or by someone who grew up with them. 🙂)

In other news: #TIL that (in either variant) the option "j" (e.g. as "ps ajx" or "ps -ej") also shows the PPID (parent PID, only with BSD style options), PGID (process group ID) und SID (session ID).

#cli #commandlinemagic #ps #shellscripting

Stefan Ihringercompfu@mograph.social
2024-08-10

Did you know that there is a Linux/Unix command that can tell you which lines are in one text file but not in another? Or which lines are common to both files?

Enter the "comm" command. How amazing is that?!

ss64.com/bash/comm.html

#CommandLineMagic

TIL: converting video clips into GIFs can simply be done with `ffmpeg -i video.mp4 output.gif`.

#ffmpeg #linux #commandlinemagic
𝗯𝗮𝗺bam@chaos.social
2023-03-24

#LoFiGirl but even more lo-fi:

yt-dlp -f mp4 youtube.com/watch?v=jfKfPfyJRd -o - 2>/dev/null | ffplay -nodisp -autoexit -i - &>/dev/null

#CommandLineMagic

❄️MattK💨mattk@hostux.social
2023-03-22

Really love this #commandlinemagic love letter to June Gunn's FZF andrew-quinn.me/fzf/ - I did not know about the Alt-C integration!

2018-08-01

Schaue gerade die Aufnahmen der GPN18 und bin auf die großartigen Talks von @leyrer gestoßen.

Vielen Dank dafür!

#openstandards #cli #commandlinemagic
#tmux #wienerisch

[1] media.ccc.de/c/gpn18

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst