Skip to content

Latest commit

ย 

History

History
97 lines (67 loc) ยท 2.07 KB

File metadata and controls

97 lines (67 loc) ยท 2.07 KB

๐ŸŽจ GRC (Generic Colouriser) Installation ๐ŸŒˆ

This document outlines the steps to install GRC (Generic Colouriser) on a CentOS system and configure it for colorful command output. ๐ŸŽญโœจ

๐Ÿ› ๏ธ Step 1: Install Required Packages ๐Ÿ“ฆ

First, install the necessary packages using the following command:

sudo yum install git make

โœ… Installs Git and Make for handling the installation process.


๐Ÿ”„ Step 2: Clone the GRC Repository ๐ŸŒ

Next, clone the GRC repository from GitHub using:

git clone https://github.com/garabik/grc.git

๐Ÿ“ฅ This downloads the GRC source code to your system.


๐Ÿ“‚ Step 3: Navigate to the GRC Directory ๐Ÿ“

Change into the GRC directory:

cd grc

๐Ÿ“Œ You are now inside the downloaded GRC folder.


๐Ÿš€ Step 4: Run the Installation Script โšก

Execute the installation script to install GRC:

sudo ./install.sh

๐Ÿ› ๏ธ This script installs GRC and sets it up for use.


๐ŸŽจ Step 5: Configure Aliases ๐Ÿ”ง

To enable colorful output for various commands, add aliases to your .bashrc file. Open it in a text editor:

nano ~/.bashrc

๐Ÿ“œ Now, add the following aliases to enhance terminal colors:

๐ŸŒˆ Colorful output aliases ๐ŸŽจ

alias ls='grc ls'  
alias ll='grc ls -l'  
alias la='grc ls -a'  
alias l='grc ls -CF'  
alias grep='grc grep'  
alias egrep='grc egrep'  
alias fgrep='grc fgrep'  
alias ping='grc ping'  
alias diff='grc diff'  
alias tail='grc tail'  
alias head='grc head'  
alias ps='grc ps'  
alias netstat='grc netstat'  
alias ip='grc ip'  
alias ifconfig='grc ifconfig'  
alias df='grc df'  
alias du='grc du'  
alias free='grc free'  
alias top='grc top'  

๐ŸŽจ This makes your terminal more visually appealing with colorized output! ๐ŸŒŸ


๐Ÿ”„ Step 6: Apply Changes ๐Ÿš€

To apply the changes made to your .bashrc, run:

source ~/.bashrc

โœ… Now, your terminal commands will display colored output automatically! ๐ŸŒˆ


โšก