Video terbaru
The trap command provides the script to captures an interrupt (signal) and then clean it up within the script.
First the signals described in the original POSIX.1-1990 standard.
Signal Value Action Comment
-------------------------------------------------------------------------------------------
SIGHUP 1 Term Hangup detected on controlling terminal
or death of controlling process
SIGINT 2 Term Interrupt from keyboard
SIGQUIT 3 Core Quit from keyboard
SIGILL 4 Core Illegal Instruction
SIGABRT 6 Core Abort signal from abort(3)
SIGFPE 8 Core Floating-point exception
SIGKILL 9 Term Kill signal
SIGSEGV 11 Core Invalid memory reference
SIGPIPE 13 Term Broken pipe
SIGALRM 14 Term Timer signal from alarm(2)
SIGTERM 15 Term Termination signal
SIGUSR1 30,10,16 Term User-defined signal 1
SIGUSR2 31,12,17 Term User-defined signal 2
SIGCHLD 20,17,18 Ign Child stopped or terminated
SIGCONT 19,18,25 Cont Continue if stopped
SIGSTOP 17,19,23 Stop Stop process
SIGTSTP 18,20,24 Stop Stop typed at terminal
SIGTTIN 21,21,26 Stop Terminal input for background process
SIGTTOU 22,22,27 Stop Terminal output for background process
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
readonly command can be used to to make you variables and functions read only that means you cannot change the value of variables or you can not overwrite a function.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
In this video we will create an example. This example shell script will demonstrate the concept of Bash shell functions. we will show to check if a file exists or not using function.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
LOCAL VARIABLES IN FUNCTIONS :
Variables defined within functions are global, i.e. their values are known throughout the entire shell program keyword โlocalโ inside a function definition makes referenced variables โlocalโ to that function. Local variables can be created by using the keyword local.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Functions :
Functions make scripts easier to maintain. Basically it breaks up the program into smaller pieces. A function performs an action defined by you, and it can return a value if you wish.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
The break statement is used to exit the current loop before its normal ending.
The continue statement resumes iteration of an enclosing for, while, until or select loop.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
SELECT COMMAND Constructs simple menu from word list. It Allows user to enter a number instead of a word. So User enters sequence number corresponding to the word.
--------------------------------------------
Syntax:
select WORD in LIST
do
RESPECTIVE-COMMANDS
done
--------------------------------------------
Loops until end of input, i.e. ^d (or ^c)
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
FOR loop to execute commands. A list of commands is executed for each value in the list.
for Loops: Sometimes we want to run a command (or group of commands) over and over. This is called iteration, repetition, or looping. The most commonly used shell repetition structure is the for loop, which has the general form:
for variable in list
do
command(s)
done
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
for Loops: Sometimes we want to run a command (or group of commands) over and over. This is called iteration, repetition, or looping. The most commonly used shell repetition structure is the for loop, which has the general form:
for variable in list
do
command(s)
done
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Until Statements:
The until structure is very similar to the while structure. The until structure loops until the condition is true. So basically it is โuntil this condition is true, do thisโ.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
How do I read a text file line by line under a Linux or UNIX-like system using BASH shell?
You can use while..do..done bash loop to read file line by line on a Linux, OSX, or Unix-like system.
There are basically three ways to read file content using bash.
1a: While loop: Single line at a time: Input redirection.
1b: While loop: Single line at a time:
Open the file, read from a file descriptor (in this case file descriptor #4).
2: While loop: Read file into single variable and parse.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Loop is a block of code that is repeated a number of times. The repeating is performed either a pre-determined number of times until a particular condition is satisfied ( while and until loops)
To provide flexibility to the loop constructs there are also two statements namely break and continue are provided.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Loop is a block of code that is repeated a number of times. The repeating is performed either a pre-determined number of times until a particular condition is satisfied ( while and until loops)
To provide flexibility to the loop constructs there are also two statements namely break and continue are provided.
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
An array is a variable containing multiple values. Any variable may be used as an array. There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned contiguously. Arrays are zero-based: the first element is indexed with the number 0.
Indirect declaration is done using the following syntax to declare a variable:
ARRAY[INDEXNR]=value
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
For more detailed Tutorial visit - https://goo.gl/jLzKh2
The case statement is used to execute statements based on specific values. Often used in place of an if statement, if there are a large number of conditions.The variable is compared with the values using the shell wildcards ( ? * [โฆ] ) .
[a-z] )
specifies a range which matches any lowercase letter from "a" to "z"
[A-Z] )
specifies a range which matches any lowercase letter from "A" to "Z"
[0-9] )
specifies a range which matches any value 0 to 9" ;;
? )
Matches a string with exactly one character like a, !, and so on.
* )
Matches a string with one or more characters (a nonempty string).
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
For more detailed Tutorial visit - https://goo.gl/jLzKh2
The case statement is used to execute statements based on specific values. Often used in place of an if statement, if there are a large number of conditions.The variable is compared with the values using the shell wildcards ( ? * [โฆ] ) , NOT regular expressions. All the statements are executed for the first matching value until the ending ;;. If no value matches, then the default *) case is executed, if present.
case statement:
Specify number of possible values for variable
Statement block executed for matching value
Only one block executed
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
For more detailed Tutorial visit - https://goo.gl/ZrJh1a
bc, for basic calculator (often referred to as bench calculator), is "an arbitrary-precision calculator language" with syntax similar to the C programming language. bc is typically used as either a mathematical scripting language or as an interactive mathematical shell.
bc [ -hlwsqv ] [long-options] [ file ... ]
bc is a language that supports arbitrary precision numbers with interactive execution of statements. There are some similarities in the syntax to the C programming language. A standard math library is available by command line option. If requested, the math library is defined before processing any files. bc starts by processing code from all the files listed on the command line in the order listed. After all files have been processed, bc reads from the standard input. All code is executed as it is read. (If a file contains a command to halt the processor, bc will never read from the standard input.)
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
For more detailed Tutorial visit - https://goo.gl/ZrJh1a
The Arithmetic expression is very important feature for performing number arithmetic operations in scripts.
By default variables are treated as strings in bash scripts.
But parsing a string to numbers is very easy using double parentheses and external command such as expr.
Arithmetic operations in Bash Shell
Arithmetic operations can be done on integers using the following methods
$(( expression ))
echo "Addition = $(( number_1 + number_2 ))"
expr โ evaluate expression
we can also use expr command to perform Arithmetic operations on numbers.
echo "Addition = $(expr $number_1 + $number_2 )"
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
The Logical OR "||" is a boolean operator that executes following commands based on the outcome of previously executed commands.
Logical OR (||) if [[expr1 ||expr2]] Returns expr1 if it can be converted to false; otherwise, returns expr2. Thus, when used with Boolean values, && returns true if one operands are true; otherwise, returns false.
- for using And operator use ||
if [ "$age" -gt 18] || ["$age" -lt 30 ]
- The -o option provide an alternative compound condition test.
if [ "$age" -gt 18 -o "$age" -lt 30 ]
- if [[ $condition1 || $condition2 ]] # Also works.
if [[ "$age" -gt 18 || "$age" -lt 30 ]]
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
The Logical AND "&&" is a boolean operator that executes following commands based on the outcome of previously executed commands.
Logical AND (&&) if [[expr1 && expr2]] Returns expr1 if it can be converted to false; otherwise, returns expr2. Thus, when used with Boolean values, && returns true if both operands are true; otherwise, returns false.
- for using And operator use &&
if [ "$age" -gt 18] && ["$age" -lt 30 ]
- The -a option provide an alternative compound condition test.
if [ "$age" -gt 18 -a "$age" -lt 30 ]
- if [[ $condition1 && $condition2 ]] # Also works.
if [[ "$age" -gt 18 && "$age" -lt 30 ]]
โ
โ
โ
Top Online Courses From ProgrammingKnowledge โ
โ
โ
Python Programming Course โก๏ธ http://bit.ly/2vsuMaS โซ๏ธ http://bit.ly/2GOaeQB
Java Programming Course โก๏ธ http://bit.ly/2GEfQMf โซ๏ธ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course โก๏ธ http://bit.ly/2DBVF0C โซ๏ธ http://bit.ly/2UM06vF
Linux Command Line Tutorials โก๏ธ http://bit.ly/2IXuil0 โซ๏ธ http://bit.ly/2IXukt8
C Programming Course โก๏ธ http://bit.ly/2GQCiD1 โซ๏ธ http://bit.ly/2ZGN6ej
C++ Programming Course โก๏ธ http://bit.ly/2V4oEVJ โซ๏ธ http://bit.ly/2XMvqMs
PHP Programming Course โก๏ธ http://bit.ly/2XP71WH โซ๏ธ http://bit.ly/2vs3od6
Android Development Course โก๏ธ http://bit.ly/2UHih5H โซ๏ธ http://bit.ly/2IMhVci
C# Programming Course โก๏ธ http://bit.ly/2Vr7HEl โซ๏ธ http://bit.ly/2W6RXTU
JavaFx Programming Course โก๏ธ http://bit.ly/2XMvZWA โซ๏ธ http://bit.ly/2V2CoAi
NodeJs Programming Course โก๏ธ http://bit.ly/2GPg7gA โซ๏ธ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps โก๏ธ http://bit.ly/2Wd4l4W โซ๏ธ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course โก๏ธ http://bit.ly/2PysyA4 โซ๏ธ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial โก๏ธ http://bit.ly/2DFQ2yC โซ๏ธ http://bit.ly/2VoJWwH
MongoDB Tutorial Course โก๏ธ http://bit.ly/2LaCJfP โซ๏ธ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners โก๏ธ http://bit.ly/2vwqHSZ
โ
โ
โ
Online Courses to learn โ
โ
โ
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
โ
โ
โ
Follow โ
โ
โ
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, Iโll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!