
bash - How to do nothing forever in an elegant way? - Unix & Linux ...
I have a program which produces useful information on stdout but also reads from stdin. I want to redirect its standard output to a file without providing anything on standard input. So far, so goo...
endless loop in until loop for unix script - Unix & Linux Stack Exchange
Jul 3, 2023 · I am doing a unix script using until loop.The idea of my script is it need to continuously verify the url status whether is up or down.When its up, it will exit the loop. In my script, I will use c...
Terminating an infinite loop - Unix & Linux Stack Exchange
To kill the outer loop I usually add a sleep command and press CTRL-C some more times: while :; do LONGTIME_COMMAND; sleep 1; done. Please notice: the colon behind while is interpreded as …
Bash while loop stop after a successful curl request
Apr 9, 2021 · Also, in while [ true ], the test checks if true is a non-empty string. It obviously is, so this does work in giving an endless loop. But [ false ] would also be always true, so a test like that is …
Endless pulseaudio error logging: failed to acquire autospawn lock ...
Aug 7, 2011 · I encountered the following in /var/log/syslog on Ubuntu 14.04. Mar 24 09:41:19 ripple pulseaudio[4838]: [autospawn] core-util.c: Failed to create secure directory (/run/user/112/pulse): No …
How to stop kate forking itself - Unix & Linux Stack Exchange
Aug 6, 2025 · After a recent update, kate seems to fork a copy of itself, presumably with some parameter which prevents an endless recursion, and then exits. Presumably this was intended to …
Keep two entire Linux desktop systems in sync
Sep 1, 2025 · Wikipedia suggests "Endless OS", but I'm always wary of distros that I haven't heard of; they typically have problems that noone has heard of before, too ;) But you could give it a try if all the …
How can I force /dev/random to block? - Unix & Linux Stack Exchange
Mar 6, 2022 · What's replenishing my entropy so well, and how can I find the specific source of randomness? As of kernel 5.6, /dev/random obtains randomness from the kernel's CRNG, which is …
What are the pros and cons of Vim and Emacs? [closed]
How would you compare these editors? What are the pros and cons of each? [note] This is not meant to be answered by those who "hate one and love another" or those who haven't used both.
Can I run GUI programs without needing a desktop environment?
Feb 5, 2024 · About the terminology: the X Server is a server because it serves the requests sent by the X Client - your X program. X is an exciting system if you enjoy trawling through endless configuration …