In a previous post, we saw how to use the bash shell and how to use Linux commands https://likegeeks.com/main-linux-commands-easy-guide/.
The concept of a bash script is to run a series of Commands to get your job done.
1 Bash Script Shebang
2 Set Script Permission
3 Print Messages
4 Using Variables
4.1 Environment Variables
4.2 User Variables
5 Command Substitution
6 Math calculation
7 if-then statement
8 if-then-else Statement
9 Numeric Comparisons
10 String Comparisons
11 File Comparisons
https://likegeeks.com/bash-script-easy-guide/
Thanks in advance.
Top comments (1)
Great resource!
Thanks!