Linux Terminal: How to do fuzzy search with tre-agrep

Probably everyone that use a terminal know the command grep, from its man page: grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus (-) is given as file name) for lines containing a match to the given PATTERN. By default, grep prints the matching lines. [...]

Linux Terminal: Poor Man’s Spotify

While I was looking some video related to Linux I’ve found this video of gotbletu an user that I follow on Youtube, related to a small player to listen music directly from the terminal: pms AKA Poor Man’s Spotify. I like lightweight clients, and so I’ve gave it a try, these are the results.

Linux Terminal: Seeing the unseen characters with cat!

Sometimes a program or software don’t start for a syntax error, and if you check the files there is nothing wrong..apparently. There are a lot of characters that usually are not printed if you use a normal text editor, but you can easily check if they are present with your terminal and the command cat. [...]

4 tricks to speed up ssh connections

I use ssh connections to manage remote servers it’s one of the main task in my work, so over time I’ve learnt some tricks to speed up the connection phase of the ssh protocol, so in this article I’ll show you how to: Configure ssh to use ipv4 only Configure ssh to use a particular [...]

How to measure the speed of SATA devices from the command line on Linux

SATA is the most common bus interface on desktops and on many servers, so it’s important that you know some basic concepts about it, from the always informative Wikipedia: Serial ATA (SATA) is a computer bus interface that connects host bus adapters to mass storage devices such as hard disk drives and optical drives. Serial [...]