Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

for i in range bash

#Just use command seq to iterate a range from start to end
END=10
for i in $(seq 1 $END); do echo $i; done
Comment

bash for i in range then

#!/bin/bash

for i in {0..100};
do
	echo "hello"
	sleep 5s
done
Comment

bash for i in range

# Brace Expansion
for i in {1..10}; do echo $i; done
Comment

PREVIOUS NEXT
Code Example
Shell :: cv2 has no attribute videocapture 
Shell :: busy port 
Shell :: search for word in text files ubuntu 
Shell :: git remember credentials 
Shell :: ghostscript on ubuntu 
Shell :: shell for file in directory 
Shell :: remove netbeans linux 
Shell :: Error: GPG check FAILED fedora mysql 
Shell :: install xelatex ubuntu 
Shell :: docker compose unless stopped 
Shell :: cleaning up your ubuntu system 
Shell :: powershell for loop 
Shell :: babel core 
Shell :: git revert pull from another branch 
Shell :: install bedrock minecraft on linux 
Shell :: change brightness ubuntu 20.04 
Shell :: how to remove sudo permission in from download 
Shell :: fingerprint login disabled ubuntu 20.04 
Shell :: amend last commit message 
Shell :: how to access postgres CLI 
Shell :: find files edited within last minute 
Shell :: how to check eigen version 
Shell :: chnage nvm default version 
Shell :: bash return only first line that contains match 
Shell :: ubuntu trash folder 
Shell :: yarn version 
Shell :: cocoa pods 
Shell :: How to check the installed version of React-Native 
Shell :: cordova sqlite storage plugin android 11 
Shell :: bash replace substring 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =