Testing cli tools: fzf, duf, ripgrep, fd, bat, fish, tldr
Edit november 2025: I only tested Fish for a moment until I realised that some of Fish’s default features people talk about I had already integrated with Bash - so I went back to Bash (I am now testing zsh on another machine I use); I use bat from time to time, cat still has a job; I use tldr often, before going to man pages; I tried fd but have not figtured its behaviour so I mostly stick to find; same with ripgrep; I have not used fzf; I have not had the chance to use duf.
I found a blog post listing commands the author (AJ) uses daily.[1]
Some of the commands I feel I could use.
I selected a few to try:
fzfdufas a substitute fordfripgrepas a substitute forgrepfdwhich as a substitute forfindbatcatas a substitute forcat
I also wanted to try starship and tealdeer but these are not in Trisquel’s repository so instead I opted for:
fishinstead ofstarship- and (the original)
tldrinstead of its rewrite in Rusttealdeer
To install them all:
sudo apt install fzf duf ripgrep fd-find bat fish tldr
Troubleshooting bat
After the install, bash did not find the command bat.
On the repository of bat, I found this
If you install bat this way, please note that the executable may be installed as batcat instead of bat (due to a name clash with another package). You can set up a bat -> batcat symlink or alias to prevent any issues that may come up because of this and to be consistent with other distributions:
mkdir -p ~/.local/bin
ln -s /usr/bin/batcat ~/.local/bin/bat
I opted for the alias because ~/.local/bin isn’t in $PATH, if I understood correctly.
So to create the alias, I added alias bat=‘batcat’ in ~/.bash_aliases (run $ bash for the new alias to apply).
Alternative to Tealdeer
tealdeer is not in Trisquel’s repository but the package its a rewrite of tldr is.
To install tldr:
sudo apt install tldr
However, if you try:
tldr tar
Your terminal might print:
No tldr entry for tar
I had to run:
tldr --update
for tldr’s pages to be downloaded.
Troubleshooting fd
The actual path to the command is fdfind is /usr/bin/fdfind.
I added alias fd=‘fdfind’ to ~/.bash_aliases.
Taking notes in the cli
AJ mentions did to take notes, however, I did not want to install a program to take notes. I want to try keep thing simpler for now. So far I’ve been using vi and saving notes in ~/notes but it’s not so smooth.
I found someone suggesting cat > notes, then CTRL+D. I’ll try that for now. In the future, I might try to use a script that aliases cat > notes and create a note with a timestamp in a dedicated folder when I press CTRL+D.
[1] https://alexisjanvier.net/blog/mes-commandes-du-quotidien/
personal computing command-line interface (cli) gnu linux trisquel shell literacy wiki fzf ripgrep fd grep find cat bat df duf fish tldr