About 172,000 results
Open links in new tab
  1. 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 …

  2. How to run an infinite loop in the background

    How can I run an infinite loop in the background, while continuing on with the script's execution? Example "script": while true; do something_in_the_background; done

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

  4. networking - My Ping command does not seem to ever finish. Does …

    I am pinging a remote IP. I know very little about the Ping command. When I ping the IP, it keeps going and going... I am not using the -t option. Me$ ping 137.30.124.104 PING 137.30.124.104 (137....

  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 that is …

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

  7. Why is cat /dev/ttyUSB0 producing an endless repeat?

    Mar 1, 2018 · I would like to use cat /dev/ttyUSB0 or something similar to monitor serial communication happening through my USB-serial adapter. I am successfully able to send serial commands from …

  8. Endless loop when connected to OpenVPN - Unix & Linux Stack …

    Feb 27, 2024 · I connected my university-vpn via openvpn on Windows, Ubuntu and Manjaro. Windows worked instantly, no configuration was needed. When using any Linux-System, connecting to the vpn …

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

  10. Why does this endless loop not use up my system resources?

    May 12, 2017 · 6 Your loop is starting an endless number of shells, but one after the other, not in parallel. The first time the loop runs, it runs bash, which starts a new shell and displays the prompt.