for loop in shell script
for i in {1..5}
do
echo "Welcome $i times"
done#!/bin/bash
for (( c=1; c<=5; c++ ))
do
echo "Welcome $c times"
done
for i in `seq 1 10`
do
echo $i #Do something here.
donefor VARIABLE in 1 2 3 4 5 .. N
do
command1
command2
commandN
donefor VARIABLE in file1 file2 file3
do
command1 on $VARIABLE
command2
commandN
donewhile [ <some test> ]
do
<commands>
done
Also in C++:
- CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install
- linux refresh .bashrc
- secrets kv-v1 in vault
- wsl2 ubuntu
- laravel command not found after installing laravel mac
- turn off bluetooth by default ubuntu 20\.04
- terminal linux en windows platzi
- conda install snowflake-sqlalchemy
- git switch branch to another branch
- apt-get install plex
- remove file from git tracking
- git supprimer branche origin
- how to unrar in linux
- grpc tools node protoc
- git local branch track remote
- power shell service start
- sleep command bash
- android studio licenses
- how to install django on windows
- build.ps1 fie cannot be loaded the file is not digitally signed you cannot run this script on the current system
- list apt installed programs
- laravel install
- bash float division
- how to install all dependencies in package.json using npm reactnative