Linux shell: Introduction to Flock

Recently a colleague of mine should run multiple parallel jobs on a server (around 20 in our specific case), every job does “an elaboration” and this can take a time longer or shorter in respect of the others, once a job finishes its task it must read from a text file the first line that [...]

alias.sh puts your Linux shell alias on the clouds

If you are a Linux system administrator or you just wish to save a copy of your alias on the net, this is the service for you ! alias.sh is a new project that offer a simple service: allows you to manage all of your aliases online and browse the list of cool aliases submitted [...]

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

Manage planned tasks on Linux with the command at

In a former article I’ve talked about the commands cron and crontab  that are the standard way to schedule recurring things on a Gnu/Linux system. But sometimes you need to do one thing at a specific date and time for just one time, and for these tasks the best option is to use at, another way [...]

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