Automation Lab
├── Automation Scripts (Module 2)
| ├── screenshots # Screenshots of working Automation Scripts
| ├── class_tasks.sh # Delete same file from two directories
| ├── file1.sh # Archiving logs
| ├── file2.sh # Auto discard old archives
| ├── file3.sh # MySQL backup
| ├── file4.sh # Email web server summary
| ├── file5.sh # Ensuring web server is running
| ├── file6.sh # User command validation
| ├── file6_copy.sh # User command validation
| ├── file7.sh # Disk Usage alarm
| ├── file8.sh # Sending file to trash
| ├── file9.sh # Restoring file to trash
| ├── file10.sh # Logging delete action
| ├── file11.sh # File formatter
| ├── file12_file13.sh # Encrypting and Decrypting files
| ├── file14.sh # System Information
| ├── file15.sh # Bulk file downloader
| ├── file16.sh # Installing LAMP Stack
│ ├── file17.sh # Get NIC's IP
│ └── scenario9.png # Logging delete action using .bashrc
|
├── Basic Scripts
| ├── basicif.sh # If in shell script
| ├── function.sh # Functions in shell script
| ├── hello.sh # Hello message using some linux commands
| ├── input.sh # Taking input
| ├── ladderif.sh # If-else statements
| ├── nestedif.sh # Nested if statements
| ├── output.sh # Using echo
| ├── switchcase.sh # Using switch case in shell
│ └── variable.sh # Variables in Shell Script
|
├── MAKE & MAKEFILE
| ├── 0. Code
| | ├── add.c # Function to add
| | ├── divide.c # Function to devide
| | ├── main.c # Main program
| | ├── multiply.c # Function to multiply
| | ├── mymath.h # Header file to add functions
| | └── subtract.c # Function to subtract
| ├── 1. Makefile
| | ├── Makefile # Makefile
| | └── mycalculator # Executable after make
| ├── 2. Building Binary
| | ├── Makefile # Makefile
| | ├── mycalculator # Executable after make
| | └── newmake.mk # .mk file
| ├── 3. Automatic rebuild
| | ├── Makefile # Makefile
| | └── mycalculator # Executable after make
| ├── 4. Creating Logs
| | ├── Makefile # Makefile
| | └── mycalculator # Executable after make
│ └── Screenshots
| ├── 1.png # Makefile
| ├── 2.png # Building Binary
| ├── 3.png # Automatic Rebuild
| └── 4.png # Creating Logs
|
├── PROBLEM_WHATSAPP
| ├── prob1.sh # Hexadecimal to Binary
| ├── prob2.sh # Octal to Binary
| ├── prob3.sh # Checking Palindrome
| ├── prob4.sh # Checking Perfect
| ├── prob5.sh # Checking armstrong
| ├── prob6.sh # Printing DO
| ├── prob7.sh # Printing DA
| ├── prob8.sh # Hexadecimal to Octal
| ├── prob9.sh # Octal to Hexadecimal
| └── prob10.sh # Decimal to Hexadecimal
|
├── Screenshots # Contains screenshots of various executions
│
├── Some other scripts
| ├── prob1.sh # Hexadecimal to Binary
| ├── prob2.sh # Octal to Binary
| ├── prob3.sh # Checking Palindrome
| ├── prob4.sh # Checking Perfect
| ├── prob5.sh # Checking armstrong
| ├── prob1.sh # Hexadecimal to Binary
| ├── prob2.sh # Octal to Binary
| ├── prob3.sh # Checking Palindrome
| ├── prob4.sh # Checking Perfect
| ├── prob5.sh # Checking armstrong
| ├── prob6.sh # Printing DO
| ├── prob7.sh # Printing DA
| ├── prob8.sh # Hexadecimal to Octal
| ├── prob9.sh # Octal to Hexadecimal
| └── prob10.sh # Decimal to Hexadecimal
│
├── DA Lab Manual.pdf # Lab file
│
└── SCENARIO5.pdf # Presentation of SCENARIO-5 Module-2
- Fork the repository and then clone it. For cloning command is:
$ git clone "https://github.com/<username>/Automation-Lab"
- Do changes and stage them.
- Commit you changes with a commit message.
$ git commit -m "<message>"
- Push changes to your forked repository
$ git push -u origin branchname
- Create a pull request to the upstream repository.
Synchronize forked repository with Main repository
- Create upstream as our repository
$ git remote add main "https://github.com/kshitizsaini113/Automation-Lab"
- Fetch changes from main repository
- Merge changes after being fetched
- Push changes to your forked repository
$ git push -f origin master