Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Show error message and exit if $FOO is unset (or null)

${FOO:?message}
Comment

Show error message and exit if $FOO is unset (or null)

for ((i = 0 ; i < 100 ; i++)); do
  echo $i
done
Comment

PREVIOUS NEXT
Code Example
Shell :: command to check the status of a system service 
Shell :: uninstall maps 
Shell :: How To Create Y/N Question On Batch Script 
Shell :: wget health check 
Shell :: sbt run on save 
Shell :: ffmpeg add cover art 
Shell :: add user to wheel groub 
Shell :: Simple Example to create shell variable 
Shell :: install --jet with or without composer 
Shell :: docker run from docker hub 
Shell :: python tree library 
Shell :: touch equivalent in windows 
Shell :: search in github repo 
Shell :: changed files github 
Shell :: ubuntu kill running port 
Shell :: download teamviewer for ubuntu 20.04 
Shell :: what is shell in linux 
Shell :: windows command line connect to bluetooth device 
Shell :: connect project to git repository 
Shell :: sudo: add-apt-repository: command not foun 
Shell :: shell cehck if string is null 
Shell :: restart command windows server 2008 
Shell :: lumbha ram github 
Shell :: ned red installation guide ubuntu 
Shell :: FATAL module ucvideo not found 
Php :: php cors disable 
Php :: laravel version check 
Php :: drupal 8 add message 
Php :: how to get page name in php 
Php :: php wait 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =