About 50 results
Open links in new tab
  1. bash - How to do nothing forever in an elegant way? - Unix

    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...

  2. 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 …

  3. endless loop in until loop for unix script - Unix & Linux Stack …

    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 …

  4. 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 …

  5. 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 …

  6. 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 …

  7. Stop endless loop .sh script - Unix & Linux Stack Exchange

    Jun 24, 2018 · I have a script like the one below, hosted on an SSH server: while true do python3 main.py sleep 1 done I have run it with: nohup ./launcher.sh I can kill the python processes …

  8. 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 …

  9. Shuffle Files In A Dir With Sox (Endlesssly) - Unix & Linux Stack …

    Jun 25, 2021 · I have a directory full of mp3s - /home/pi/Desktop/Music - and I want to be able to shuffle all the songs in the dir, so when I use sox to convert them into wma files on-the-fly, …

  10. Purpose of /dev/zero? - Unix & Linux Stack Exchange

    Jan 31, 2013 · 64 /dev/zero is a special file (in this case, a pseudo-device) that provides an endless stream of null characters (so hex 0x00)? That's why your cat is not outputting anything …