Contained here are trival stuffs. Like with all trival stuffs, its inevitably bound to be forgotten.
Description | Command |
---|---|
List only directories | ls -l | grep ^d |
Count number of files & directories | ls -l | tail +2 | wc -l |
Command prompt coloring__ (Add to ~/.bash_profile) \n Color reference here | export PS1="\e[36;1m[\W] \e[0m" |
Colorizing terminal (Add to ~/.bash_profile) | export CLICOLOR=1 \n export LSCOLORS=gacadxFxCxDxBxegedabagace |