Collection of useful bash functions
- azcopy10inst
- dockerhubp
- filefirst
- filecompress
- filenum
- filextract
- filelarlist
- gitcommit
- gitcinfo
- gitcsinfo
- gitprinfo
- gitisinfo
- kp
- jsonload
- myinfo
- netinfo
- netmyip
- podel
- podget
- podlog
- podvalidname
- podres
- psa
- ssd
- whoisport
- nviuse
- version
- help
- list
Before you begin, ensure you have met the following requirements:
- You have a
<Linux/>
machine. State which OS is supported/which is not. - You have a installed
git
, andkubectl
OS packages. - You have read
<guide/link/documentation_related_to_project>
.
To install , follow these steps:
Linux and macOS:
dpkg -i shutils_*.deb
To use , follow these steps:
$ shutils version
#shutils (0.0.1) unstable; urgency=medium
$ shutils netmyip
# % Total % Received % Xferd Average Speed Time Time Time Current
# Dload Upload Total Spent Left Speed
#100 12 100 12 0 0 53 0 --:--:-- --:--:-- --:--:-- 54
#XXXXXXXXXXXXX
$ shutils help podel
#Use: shutils help podel
#Description: #######################################
# Delete a pod by name pattern
# Arguments:
# podname : podname pattern
# mynamespace : namespace(default)
#
# Returns:
# 0 if pod was delete, non-zero on error.
#######################################
#Option:
#help.
To contribute to <project_name>, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
Thanks to the following people who have contributed to this project:
If you want to contact me you can reach me at contato@meantrix.com.
This project uses the following license: MIT.