Few Basic examples of Bash Script.
- Executable Command: To Make the file executable, you need to run the below command:
chmod +x filename.sh
and then run
sudo ./filename.sh
A few Examples are below
- PRINT/ECHO Command
- VARIABLES DECLARATION
- USER INPUT COLLECT
- IF STATEMENT
- IF ELSE STATEMENT
- ELSE-IF STATEMENT
- SIMPLE FOR LOOP
- COMPARISON
- FILE EXISTS OR NOT
- CASE STATEMENT
- RENAME FILES USING LOOP
- WHILE LOOP
- SIMPLE ARRAY
- SIMPLE FUNCTION
- FUNCTION AND PARAMS
- CREATE FOLDER
- WRITE FILE
- ARITHMETIC OPERATOR
- BINARY TO DECIMAL CONVERSION
- DECIMAL TO BINARY CONVERSION
- LOWER CASE CONVERSION
- SIMPLE CALCULATOR
- NESTED IF CONDITION- SIMPLE STUDENT RESULT
- PRIME NUMBER CHECK
GitHub Link: https://github.com/ruhulmus/basic-bash-shell-script-tutorial-example
Few Bash Script books :
The Linux Command Line by William Shotts
Advanced Bash Scripting Guide by Mendel Cooper
Few Sample of UML Diagrams :
Different types of UML diagrams (Sequence, State, etc.) Given a description of new functionality and an updated different type of UML diagram, you will implement the updated design if needed.
Renters Renting Cars UML class diagram:
UML Class Diagram (High Level)
Design Structure UML Class Diagram:
UML Class Diagram