Create Infinite Loop In Bash


  1. Posts : 1
    windows 10
       #1

    Create Infinite Loop In Bash


    I want to run a command for ever in the Linux bash. Also I want to put 60 seconds between command execution.
      My Computer


  2. Posts : 668
    Win 10 pro
       #2

    Code:
    while :
    do
        date
        sleep 60
    done
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:32.
Find Us




Windows 10 Forums