Some CLI tools

a cartoonized close up picture of a man

2023-12-27

Gabriel Montpetit

I found a few CLI tools that I think are useful. I have written them in order of "usefulness" for me.

top university

I think like most Linux user, we all start with the top command to see what is going on with our system. Some of us may have to use ps to find a process ID and then use kill to kill it or see how much resources it is using.

htop university

Then we graduate from top university to htop university once we realize that htop is a better version of top and that our knowledge has increased. With this newer tool, we can somewhat interact with the processes and kill them with a few keystrokes.

btop university

With this solid base, we can move on to btop hacker mode. btop is a better version of htop and it is written in Python. It is also very easy to install with pip or apt.

btop_screenshot

btop

This tool is a bit more advanced and it is a terminal multiplexer. It allows you to have multiple terminal sessions in one window. It is very useful when you are working on a remote server and you want to keep a process running in the background while you do something else. You can also split the window in multiple panes and have multiple terminal sessions running at the same time.

I use use with with neovim, fish and wrap it all up in alacritty. Theses tools are worth another post.

tmux

tmux_logo

This tool can be installed using apt or brew.

This tool can be used to fuzzy search for files and directories. It is very useful when you are in a directory with a lot of files and you want to find a specific file. You can also use it to search for a command in your history.

I believe you can also plug it into neovim to fuzzy search for files.

fzf

fzf_logo

You can install it with apt or brew.

This isn't a tool per say, it's just nice to look at. It displays some information about your system in a nice way. It is also very easy to install with apt or brew.

neofetch

neofetch_screenshot

This is a fun tool that displays the matrix on your terminal. It is also very easy to install with apt or brew.

cmatrix