Skip to content

meantrix/shutils

Repository files navigation

Shutils

logo

GitHub repo size version

Collection of useful bash functions

Methods

  • 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

Prerequisites

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, and kubectl OS packages.
  • You have read <guide/link/documentation_related_to_project>.

Installing

To install , follow these steps:

Linux and macOS:

dpkg -i shutils_*.deb

Using

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.

Contributing to <project_name>

To contribute to <project_name>, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Contributors

Thanks to the following people who have contributed to this project:

Contact

If you want to contact me you can reach me at contato@meantrix.com.

License

This project uses the following license: MIT.