Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash condition structure

n1=10
n2=5
if (( $n1>$n2 ))
    then
    echo "n1 is greater than n2"
elif (( $n1<$n2 ))
    then
    echo "n1 is lower than n2"
else
    echo "n1 is equal to n2"
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: get specific version of package 
Shell :: short cut: select all matches 
Shell :: mongo-sanitize github 
Shell :: multipass snap 
Shell :: how to get device name in lsusb 
Shell :: adb install --abi armeabi-v7a aab 
Shell :: dgvai/laravel-adminlte-components 
Shell :: dächen auf linux in terminal 
Shell :: instsall typo3 
Shell :: install gtk in msys2 shell 
Shell :: how to add sha to known hosts w10 
Shell :: unorm npm 
Shell :: Transfer all the changes made to a single file between git branches 
Shell :: catch grep cat last first lines of a file linux 
Shell :: install wii save files dolphin 
Shell :: bash check other instances 
Shell :: press return to continue linux which key should I press 
Shell :: ais data integration sentinel SAR data github 
Shell :: run flluter,linux 
Shell :: how to install deface makers for ubuntu 
Shell :: k8s install rabbitmq 
Shell :: powershell command to change minimum password length 
Shell :: untar multiple archives into thier own folders linux command 
Shell :: linux high load send mail 
Shell :: bash if string does not start with 
Shell :: webmin depends on unzip; however: Package unzip is not installed. 
Shell :: activate debug bash 
Shell :: criar variáveis no mac 
Shell :: fslmaths addition 
Shell :: git repo has too many changes vscode 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =