Alternatives to Some Linux Commands
Some linux commands and their alternatives that I use. For most of them, it’s easier to create aliases.
dustinstead ofdu
See how to install it, here.
It’s very informative!
tldrinstead ofman
The purpose of TLDR (Too Long, Didn’t Read!) is to show examples of using various commands. On Ubuntu it will be installed with sudo apt install tldr
batorbatcatinstead ofcat
See here to find how to install it.
exainstead ofls
Check out its website. exa is especially useful when you want to see the directory tree.
dufinstead ofdf
Check here to find more about duf.
colordiffinstead ofdiffhtopinstead oftop, (edit: actuallybtopinstead oftop!)
Check here for more information on how to set it up. It looks cool!
ackinstead ofgrepclocinstead ofwc- Using
xclipinstead of copy and paste.
# installation on Ubuntu
sudo apt install xclip
# Optional aliases in the profile/bashrc
alias "c=xclip" # copy to X clipboard
alias "cs=xclip -selection clipboard" # copy to system wide clipboard
alias "v=xclip -o" # output copied content (paste)
alias "vs=xclip -o -selection clipboard" # paste from system wide clipboard
# Some usages (notice the backticks)
# Terminal 1
echo pwd | c
# Terminal 2
cd `v`
