Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

if clauses bash

#!/bin/bash

echo -n "Enter a number: "
read VAR

if [[ $VAR -gt 10 ]]
then
  echo "The variable is greater than 10."
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: create a batch file from batch file 
Shell :: ros installation 
Shell :: how to get driver information ubuntu 
Shell :: bash start two processes at the same time 
Shell :: grep usage 
Shell :: instal ansible centos 7 
Shell :: How to delete dir, subdirectory, fils all in cmd 
Shell :: how to get the type of something in powershell 
Shell :: install magento 2 docker 
Shell :: install chocolately path 
Shell :: Rename Files in git command 
Shell :: mv linux command 
Shell :: laravel github 
Shell :: Bootable flash from ubuntu terminal 
Shell :: install raspberry pi 
Shell :: create fish alias 
Shell :: To add repo from github in linux 
Shell :: how to create a new group in linux 
Shell :: how to delete all text inside vi 
Shell :: how to connect raspberry pi to laptop using hdmi 
Shell :: grep substring 
Shell :: shell cd 
Shell :: deleting a remote branch 
Shell :: bash shuffle lines 
Shell :: install figlet package and run a simple command 
Shell :: Push to an existing repository form command line 
Shell :: npm -g mac privileges 
Shell :: ssl certificat generation 
Shell :: config interface fortigate 
Shell :: surface area of a spherical shell 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =