Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash endless loop

#!/bin/bash
while true
do
	echo "Press [CTRL+C] to stop.."
	sleep 1
done
Comment

infinite loop bash

#!/bin/bash
while :
do
	echo "Press [CTRL+C] to stop.."
	sleep 1
done
Comment

infinite loop bash

 while :; do echo 'Hit CTRL+C'; sleep 1; done
Comment

infinite loop bash

########################

infinity loop

while true; do
  whatever you want to do
done

infinity loop 2
while :
do
 something to do
done
####################
Comment

PREVIOUS NEXT
Code Example
Shell :: update cocoapods version mac 
Shell :: install chrome on linux 
Shell :: dotnet build release 
Shell :: vim ubuntu install 
Shell :: gpg2 install ubuntu 
Shell :: stop all kubernetis pods 
Shell :: linux get uuid of partition 
Shell :: git config location 
Shell :: vscode give music permissions 
Shell :: install workbench on ubuntu 
Shell :: chmod 777 ubuntu xampp 
Shell :: dual boot time fix 
Shell :: commit no verify 
Shell :: how to restart heroku server 
Shell :: install moviepy 
Shell :: linux which shell am i running 
Shell :: how to install docker ubuntu 
Shell :: install ifconfig on ubuntu 
Shell :: styled componets npm 
Shell :: brew install jdk 8 
Shell :: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) 
Shell :: uninstall zoom command line 
Shell :: install auth in laravel 8 
Shell :: linux remove java 11 
Shell :: download draw.io for ubuntu 
Shell :: install virtualenv 
Shell :: how to stop gunicorn 
Shell :: install jenkins on ubuntu 
Shell :: vim remove whitespace from end of line 
Shell :: clear ram linux 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =