Skip to content

Bash aliases collated & also organized by category. Includes aliases for snap, flatpaks, common cryptography (GPG, checksums), and more.

Notifications You must be signed in to change notification settings

TubbyCat/bash_aliases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright © 2022-2023 TubbyCat

See CREDIT and GPLV3 files for elaborated copyright information.

TubbyCat's Bash Aliases

For use on your own system it may be best to modify the alias names to whatever you find optimal. Such a determination of preference requires some linux experience. No matter your expertise, these aliases are made with due regard for ease of use.

You Stupid E-KittyCat, What the Fluff are Bash Aliases?!

  • A compilation of 'shortcuts' for commonly used linux commands residing inside .bashrc or .bash_aliases files
  • The syntax:
alias aliasname='command'
e.g. alias turnoffmycomputer='sudo reboot now'

Note: files beginning with "." are initially hidden in linux file managers unless their visibility is enabled. Hint: Google "make dotfiles visible linux"

HOW TO USE

For combined bash aliases, simply copy over the .bash_aliases file in this git repository.

The "Snippets" directory contains aliases organized by category

  • Simply copy and paste into your own ~/.bash_aliases file
  • if only using a few aliases, you can insert them directly into ~/.bashrc
  • Hint: "~" refers to the home directory. Typically /home/$USER. $USER is a placeholder for username, and can also be executed in the terminal on your linux machine.

For ~/.bash_aliases to work, add the following to your system's ~/.bashrc file, if it does not already exist.

if [ -f ~/.bash_aliases ]; then
    .~/.bash_aliases
fi

Then, to implement the addition of .bash_aliases in-situ run:

source .bashrc

Elaborated Instructions, pseudo-TL;DR

git clone https://github.com/TubbyCat/bash_aliases.git
cd ./bash_aliases
#for full aliases
cp ./.bash_aliases ~/
#for snippets 
#cat ./snipets/whicheverdirectory/whicheverfilename >> ~/.bash_aliases
#to appropriately use snippets you will likely need to use a text editor