With a lot of modern web development, you‘ll find yourself using the terminal more and more. This can be daunting at first and can become slightly repetitive typing the same tasks over and over again. However, you can configure your terminal to work smarter and harder for the tasks you need to complete.
Splash some colour
The terminal can be a monotone place to be, so why not add some colour. Add these to your
export CLICOLOR=1 export LSCOLORS=GxFxCxDxBxegedabagaced
Add some shortcuts to save your keyboard and fingers.
alias ls="ls -la -h -Gp -F" alias grep="grep -n --color" alias ping="ping -c 5" alias cls="clear" alias md="mkdir -p"
Now, instead of typing
ls -la or similar, you can just type
ls and you'll see a nicer output. You will
get the long format (
l), all files including dot files (
-a), human readable file sizes (
Whenever you use
grep you will get nicer colour treatment. Running
ping on a domain will exit after five trys.
cls is just shorter than
md will make directories, recursively.