Skip to content

Collection of shell utilities for bash and zsh terminals to automate tedious tasks

License

Notifications You must be signed in to change notification settings

dubniczky/Shell-Utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Utilities

Collection of utility shell scripts to automate often-used command combinations.

Details

The basic Linux environment comes with a wide arsenal of utility applications and commands to use. They are usually made for a specific task with a lot of options. This makes them versatile, but sometimes uncomfortable to use repeatedly if you are looking for a simple interface.

This project expands on the built-in functionalities of these modern Linux (and mac) systems to provide a bit more complex functionalities in a simple format.

Considerations

  • Independent: scripts must be compatible with modern Linux and Mac systems with the use of bash,
  • Standalone: scripts can run without any others in this library,
  • Autonomous: scripts must be non-interactable, meaning the only settings are passed with the use parameters and don't require any stdin,
  • Concise: scripts must produce minimal output text, if the command is only successful or unsuccessful, it must be communicated with an error code,
  • Focused: scripts must be focused on a single purpose instead of being highly customizable

Install

Install the scripts with this one-liner command.

curl -fsSL https://raw.githubusercontent.com/dubniczky/Shell-Utilities/main/setup.sh | sh -

Or manually

  1. Clone repository
git clone https://github.com/dubniczky/Shell-Utilities
  1. Move to repository
cd Shell-Utilities
  1. Run the installer
make install
or
chmod +x install.sh && ./install.sh

Commands

Command Script Tags Description
embark source docker Build the local Dockerfile and quick run it with customizable parameters
gitid source git Change the commit identity of the current git repository
mop source files Clean up common temporary files and folders in the current directory
origin source git Quick download a git repository to a local projects folder by name
packup source package Update various packages and applications from multiple sources
pubs source ssh An utility that prints the public ssh key of the current user or the specified user
pull source git Search for each git repository in current folder and pull the changes and tags
push source git Search for each git repository in current folder and push the commits and tags
bash16 source random Generate cryptographically secure random base16 strings
bash64 source random Generate cryptographically secure random base64 strings
sail source docker Manage docker daemon
shtart source bash List bash startup scripts
sink source docker Kill all currently running docker containers
snek source python Activate given python version as the python command
venv source python Initialize a python virtual environment and install packages

About

Collection of shell utilities for bash and zsh terminals to automate tedious tasks

Topics

Resources

License

Stars

Watchers

Forks