LBRY Block Explorer

LBRY Claims • what-is-this-2

9c939185b6f326bc8c011285e6bea9775689a2ce

Published By
Created On
20 May 2023 22:28:43 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
What Is This?
The shell, global variables, and temporary files in communicating between processes - Linux shell scripting

You could also replace grep with a case statement (where the tmpfile pattern is __NAME__$$):
while :; do
pids=$(ps -o pid=)
for file in $files; do
pid=${file##*__}
case $pids in
*$pid*) ;;
*) rm -f $file ;;
done
sleep 300
done

Make sure that you are removing the temporary files. You may want to add:
cd $path_to_tmp || return
before doing anything.

Mic: https://tokopedia.link/4xVIDTx4Evb

#c #clang #clanguage #cli #programming #arch #linux #unix #technology #tutorial #bash #if #posix #shell #vim
...
https://www.youtube.com/watch?v=IMdsisplFVs
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
MAKIN
Controlling
VIDEO
WHY I
Controlling
VIDEO
THIS
Controlling
VIDEO
I LOV
VIDEO
THIS
Controlling
VIDEO
STRIN
Controlling
VIDEO
THIS
Controlling
VIDEO
WHAT'
Controlling
VIDEO
WHAT