About 12,100 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 …

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

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

  4. How do I add an entry to my crontab? - Unix & Linux Stack …

    The following concerns non-interactive crontab manipulation: So, to remove particular tasks programmatically, you could do something like $ crontab -l | grep -v 'PATTERN' >crontab.txt …

  5. php-fpm error unable to bind listening socket for address …

    Jan 22, 2015 · If you are a non-sudo user trying to bind sockets, then yes it might be a permissions problem. Have you tried running it as sudo?: sudo restart php-fpm I don't see a …

  6. Scroll inside Screen, or Pause Output - Unix & Linux Stack Exchange

    FYI BSD solved this decades ago. Scroll lock will pause any scrolling buffer in any terminal or screen. Where is this in linux!!!!!

  7. Removing a directory from PATH - Unix & Linux Stack Exchange

    This unfortunately doesn't eliminate successive directory entries from the path, i.e. baz:foo:foo:bar removing foo becomes baz:foo:bar. This is because the colon on both sides of the pattern …

  8. exit out of all SSH connections in one command and close PuTTY

    Is there a way to back out of all SSH connections and close PuTTY in "one shot"? I work in Windows 7 and use PuTTY to SSH to various Linux hosts. An example of the way I find myself …

  9. How does tcp-keepalive work in ssh? - Unix & Linux Stack Exchange

    I just want to build a means to determine, if another node is "down" using several ssh-network connections with several physical lines. I do this by just openening an ssh-session (that more …

  10. How does the "tail" command's "-f" parameter work?

    From the tail(1) man page: With --follow (-f), tail defaults to following the file descriptor, which means that even if a tail’ed file is renamed, tail will continue to track its end. This default …