Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash expression

let a=1 #(outside for loop)

for i in {0..100..10} # example
do
	let a=a+5
	echo $a
done
Comment

bash expression

gamma_new="$(($gamma_t-360))"
num2="$(($num1+num2))"

$((expression))

$a=5

yourname_$(($a-1))
#will give
yourname_4
Comment

PREVIOUS NEXT
Code Example
Shell :: how to push to github with personal access token 
Shell :: remove remote origin git 
Shell :: sublimetext 
Shell :: jenkins get last commit message 
Shell :: install Miniconda r 
Shell :: Remove directory/folder locally and git 
Shell :: diskpart create partition 
Shell :: getCityNameByLatitudeLongitude 
Shell :: recover commits done on HEAD 
Shell :: install docker in linux 
Shell :: batch file with flags 
Shell :: Can we install XAMPP on Linux from a given link 
Shell :: install tesseract-ocr jpn 
Shell :: how to move wsl storage 
Shell :: how to check my mint version 
Shell :: powershell add line to text file 
Shell :: sort in linux 
Shell :: digitalocean install lamp ubuntu 20.04 
Shell :: mc for ubuntu linux 
Shell :: gitlab system variables 
Shell :: find hidden directories and files from a website wfuzz 
Shell :: merge branch into master 
Shell :: Install command-line ipfs 
Shell :: linux find location of executable 
Shell :: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x22 
Shell :: git prune local branches 
Shell :: run command every hour linux 
Shell :: azure devops set environment variable powershell 
Shell :: run powershell script by clicking 
Shell :: linux chown 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =