Linux Terminal: How to color the output in bash scripts

Linux Terminal: How to color the output in bash scripts

An old article by Todd Partridge (Gently) but still really useful if you are writing some bash scripts and want them more readable with some colors: Users who have been using Linux for awhile often learn that creating a basic script is a good way to run multiple, often-repeated commands. Adding a little color to [...]

Dynamic DNS with Bash & Afraid.org

Recently I’ve published an article about “DynDNS and ddclient: access your Linux from anywhere“, and some people commented that the services on DynDNS are not free anymore, so this is an alternative by Adam Buchanan first published on his interesting blog — This has nothing to do with search engine marketing, but everything to do with [...]

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

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