Mass renaming files on Linux

Mass renaming files is no possible with the standard linux command mv, but it’s possible to achieve this goal in many different ways, from some bash magic, to programs that do exactly this, in this article I’ll work with both the terminal and with graphical tools.

Linux shell: understanding Umask with examples

In a GNU/Linux system every file or folder has some access permissions. There are three types of permissions (what allowed to do with a file of any kind, directory included): (r)read access (w)write access (e)execute access There are also other “special” permissions, but for this article the basic permissions will be enough to illustrate how [...]

Coloring Grep to easier research

In the past I’ve posted an article regarding the basic usage of grep, one of the commands that I use daily at work to search a text within multiple files, or a text string in the list of running process of a Linux server, but I’ve forgot to show you a small and useful option [...]

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 [...]

How to properly use ‘dd’ on Linux to benchmark the write speed of your disk?

Original article published on http://romanrm.ru This article is written to address sometimes incorrect usage of the “dd” program to measure disk write performance on a VPS by some visitors of the lowendbox.com website, and is originally based on this question and my answer to it.