shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

255
active users

#xargs

0 posts0 participants0 posts today
OSTechNix<p>Today's Linux Tip: Execute Commands on Multiple Files in Linux <a href="https://floss.social/tags/xargs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xargs</span></a> <a href="https://floss.social/tags/Linuxcommands" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linuxcommands</span></a> <a href="https://floss.social/tags/Linuxtips" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linuxtips</span></a></p>
egyp7<p>Bash has a way to specify strings with escaped characters like so: $'\r\n' which gives a string containing carriage return and newline characters.</p><p>The `read` built-in can take a delimiter with the -d flag. Combining these lets you use a null character: read -d $'\0'</p><p>Useful in some of the same places you might use xargs(1).</p><p>find . -name ... -print0 | while read -d $'\0'; do ./foo "$REPLY"; done</p><p><a href="https://mastodon.social/tags/bashTricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bashTricks</span></a> <a href="https://mastodon.social/tags/xargs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xargs</span></a> <a href="https://mastodon.social/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> <a href="https://mastodon.social/tags/shellTricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>shellTricks</span></a></p>