Linux shell, how to use the exec option in find with examples

In a former article I’ve wrote about the command locate, an useful command to find quickly a file in your computer. An alternative to locate is the command find : GNU find searches the directory tree rooted at each given file name by evaluating the given expression from left to right, according to the rules [...]

Surfraw – Surf the web from the CLI

______ _ _ ______ _______ ______ _______ _ _ _ / _____)(_) (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_) ( (____ _ _ _____) ) _____ _____) ) _______ _ _ _ \____ \ | | | || __ / | ___) | __ / | ___ || || || | _____) )| |___| || | \ [...]

7 hidden features of bash

Today I want to share with you some of my favorite features of bash, I called them hidden because I’ve discovered that a lot of people don’t know or don’t use them, but to be honest they are not so hidden after all, they are in the man page of bash, but how many of [...]

A look at bash internals: compgen

Inspired from a post by Concepcion Claudio Certad, today I’ve taken a look at a command that I did not known: compgen. The compgen builtin command expands a list of arguments to generate completion matches, so it allows us to display the commands, functions, directories and aliases available for the current user. In short compgen [...]

Uniq, comm and join 3 Linux command for the CLI

These small commands are not so known, but i think they can do miracles for you when you have to work from the terminal on text files and you need to compare them, or do operation on lines inside 1 file or merge 2 files applying some criteria. In this article I’ll show you the [...]