Category Archives: Tutorials

Colored Text Output in Linux Shell and Bash Scripts

This script is used in a lot of other scripts I produce over time, and it’s very handy for generating colored text output in the terminal. Example of usage Here’s an example of using the script: #!/bin/bash source echo “${fg_yellow}Yellow ${fg_reset}Normal ${fg_green}Green {$fg_reset}”; Download You can view or download the script here: […]

Continue reading

The GIT Cheat Sheat

In this article, I’ll be enlisting some of the most common git commands I use when working on software projects. # configure the environment and working user git config –global “John Doe” git config –global “” git config –global color.ui true # create the bare repository (for push/pull) repo=repository.git mkdir $repo && cd […]

Continue reading