An open API service indexing awesome lists of open source software.

https://github.com/luciaheredia/bashscripts

Simple Bash Scripts
https://github.com/luciaheredia/bashscripts

bash bash-scripting linux linux-shell

Last synced: 2 months ago
JSON representation

Simple Bash Scripts

Awesome Lists containing this project

README

          

### Simple Bash scripts:
- [Even/Odd](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/check_even_odd.sh) - Check if number is even or odd.
- [Grade description](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/grade_description.sh) - Enter grade(A/B/C/D/F) and get the description.
- [Loop until valid num](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/loop_until_pos_int.sh) - In loop until a valid positive number is entered.
- [Month num to name](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/month_num_to_name.sh) - Enter month number and get the month name.
- [Check if user exist](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/search_user_in_system.sh) - Check if user exist in /etc/passwd file.
- [User menu](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/user_menu.sh) - Options: Check date, Check time, Exit.
- [Get your age group](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/your_age_group.sh) - Enter age and get the age group you belong to.
- [Collatz Conjecture](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/collatz_conjecture.sh) - It asks whether repeating two simple arithmetic operations will eventually transform every positive integer into 1.
- [Armstrong Number](https://github.com/LuciaHeredia/BashScripts/blob/master/simple-scripts/armstrong_number.sh) - A number that is the sum of its own digits each raised to the power of the number of digits.
### Grep:
- [Text Search](https://github.com/LuciaHeredia/BashScripts/blob/master/grep/txt-search.sh) - Enter File path/name and Word to search(case-insensitive), includes menu options.
- [Recursive Directory Search](https://github.com/LuciaHeredia/BashScripts/blob/master/grep/recursive-directory-search.sh) - Recursive search for "TODO" tasks in all files within a directory and its subdirectories.
### Awk:
- [Column Manipulation](https://github.com/LuciaHeredia/BashScripts/blob/master/awk/column-manipulation.sh) - Print columns and sum values in columns.
### Advanced:
- [Difference of Squares](https://github.com/LuciaHeredia/BashScripts/blob/master/advanced/diff_square_sum.sh) - Find the difference between: the square of the sum and the sum of the squares of the first N natural numbers.