
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 - 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...
Can I install Node.js on Endless OS efficiently?
Endless OS is a linux-debian distribution that runs on the Endless Mini computer. I found out about Endless form this itsfoss See this wikipedia. I'm trying to find a small PC that runs a nix OS...
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 …
crontab schedule on Alpine Linux runs on days it's not supposed to run …
Sep 16, 2024 · The familiar Vixie Cron daemon uses the integers 0 through 7 to designate the days of the week, from Sunday to Sunday (both 0 and 7 are Sunday). A schedule with 2-7 in the day-of-week …
How to exit a git merge asking for commit message?
Jan 27, 2015 · I'm using git. I did a normal merge, but it keeps asking this: # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into …
Endless data loop from dev/ttyUSB while sending AT commands
I have problem sending AT commands to my USB modem. At first I tried php-serial class, but when I was reading data, I got endless loop with strange data. Then I tried to debug problem and opened pu...
Why arithmetic syntax error in bash causes exit from the function?
Sep 29, 2025 · ¹ Unless that code is in a subshell in which case it only exits the subshell. ¹ ² Though if those expressions reference other variables, you'd want to make sure those variables contain integer …