https://github.com/kyrol01/scriptz
Useful bash scripts
https://github.com/kyrol01/scriptz
bash bash-scripting cleaner converter devops network pkts repository-management resize-images script scripting server tshark
Last synced: 6 months ago
JSON representation
Useful bash scripts
- Host: GitHub
- URL: https://github.com/kyrol01/scriptz
- Owner: kYroL01
- Created: 2016-03-08T23:41:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T11:41:47.000Z (11 months ago)
- Last Synced: 2025-04-11T20:21:25.659Z (9 months ago)
- Topics: bash, bash-scripting, cleaner, converter, devops, network, pkts, repository-management, resize-images, script, scripting, server, tshark
- Language: Shell
- Homepage:
- Size: 59.6 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ScriptZ
__*Usefull scripts box folder. Always in progress...*__
## repo
Bash script to delete a repository from the system
Option `-l` show the content of the system repositories directory
`./del_repo.sh -l [distribution name]`
Then you can delete it passing the name of repo and the name of OS (Debian, Ubuntu or Centos)
`./del_repo.sh your-repo.list debian` or `./del_repo.sh your-repo.list centos`
## cleaner
Bash script to keep system free from garbage things
`./cleaner.sh`
## pkts
Bash script for measurment the average packets number received (required `bc` https://linux.die.net/man/1/bc )
`./pkts.sh -i wlan0` or `./pkts -i eth0 -s 10`
## converter
bash script to convert:
1. base of a number
2. multiple file extension
`./converter.sh 1 [base] [number]`
`./converter.sh 2 [old_ext] [new_ext]`
## tshark check
bash script using tshark to extract network layer informations
from the network packets on any interface (detection on 1000 pkts)
`./tshark_check.sh`
## bootime
bash script to show system reboot and shutdown date and time
`./bootime`
## os_detect
bash script to easy detect the OS name as a string
`./os_detected`
## resize_image_jpg_png.py
Python module to resize images from a directory without any distortion
---
# TODO list
1. Script to disalbe completely a service in linux system (https://superuser.com/a/936976)
2. Enable persistence journal (https://www.reddit.com/r/debian/comments/6jtbxx/debian_stretch_taking_too_long_to_shutdownreboot/)
3. Disable and mask a service (https://gist.github.com/noromanba/6e062d38fd7fd2cd609a6ef1c26ea7bc)
4. Filter from web page