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
- Host: GitHub
- URL: https://github.com/luciaheredia/bashscripts
- Owner: LuciaHeredia
- Created: 2024-12-15T14:26:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-05T22:48:05.000Z (over 1 year ago)
- Last Synced: 2025-02-14T11:44:56.637Z (over 1 year ago)
- Topics: bash, bash-scripting, linux, linux-shell
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.