/shell-scripts

Korn shell (ksh), Bourne shell (sh), Bourne again shell (bash) scripts

Primary LanguageShell

Shell-scripts

Korn shell (ksh), Bourne shell (sh), Bourne again shell (bash) scripts.

This project is still under construction


Description:

Collection of scripts for Bourne shell, Korn shell and Bourne Again shell (mostly you will find for bash).

The purpose of this collection is to share simple scripts that execute basic tasks for the administration of UNIX-based operating systems (Linux distros like Ubuntu, SentOS, Debian, etc...). Tasks such as installation, configuration, file processing, bash completion, certificate creation, among others and some extras.


Structure.

The collection is divided into different directories from which the content can be inferred given its name (or is it intended). In each directory you will find a README.md file in which its content, use and necessary information will be described in greater detail (if it does not already contain a README.md, it will soon).

Note: The number of directories will increase over time.

The directories and their existing content up to now are listed and described below:

  • bash_completion:
    Contains the script to autocomplete bash commands in your shell.
    You will find two scripts, bash_completion for Ubuntu and bash_completion for MacOS, as well as a directory with completions for some commands and a script to integrate completions that don't exist in your bash completion directory (usually under bash-completion.d/).

  • crypto:
    Basic commands and scripts to get hash or certificate information, encrypt or decrypt whatever you need to keep secure, and related tasks.

  • flavors_specs:
    Some templates that can be customized and used in your scripts.

  • kubernetes:
    Tasks related to installing and deploying Kubernetes clusters, such as:

    • Automated installation of dependencies and binaries.
    • Creation of certificates (CA and TLS/authentication, these will be self-signed).
    • kubectl cheat sheets.
    • Adding workers to your control plane.
  • proccessing-files:
    File processing, search for words, change file mode bits, etc.

  • progress-indicator:
    Simple scripts that print decorators to the console, indicating that some action is being performed or showing the progress of the action.

  • pseudorandom-number: Generates a pseudorandom number

  • time-scripts: Scripts to perform time related operations.


If you find any errors or suggestions, I would appreciate it if you would report it to me, or rather I encourage you to do so.

I hope you find something useful here