Geany is cross platform (UNIX/Windows/BSD) fast, powerful, easy to use integrated development environment for PHP, Java, C and much more. If you wanted to quickly edit source code, Geany is for you. Here’s an introduction to using Geany’s built-in features, including the IDE and built-in development capabilities.

{ 1 comment }

This article explains some of the more important syntactic and semantic differences between two of the most popular assemblers for Linux®, GNU Assembler (GAS) and Netwide Assembler (NASM), including differences in basic syntax, variables and memory access, macro handling, functions and external routines, stack handling, and techniques for easily repeating blocks of code. Unlike other […]

{ 1 comment }

This is a classic problem. One of our FAQ is about cron job. I received lots of email with a question: How do I run my script on 3rd Monday or 4th Friday only? Cron does not offer this kind of facility i.e. you cannot run a script on the Nth weekday of the month. […]


When invoked without arguments, the date command displays the current date and time. Depending on the options specified, date will set the date and time or print it in a user defined way. I’ve seen many sysadmin writing perl scripts for calculating relative date such as yesterdays or tomorrows day. You can use GNU date command, which is designed to handle relative date calculation such as:

  • 1 Year
  • 2 Days
  • 2 Days ago
  • 5 Years


A shell variable may be assigned to by a statement using following syntax: var=value If value is not given, the variable is assigned the null string. In shell program it is quite useful to provide default value for variables. For example consider script: #!/bin/bash RSRC=$1 LOCAL=$2 rsync -avz -e ‘ssh ‘ user@myserver:$RSRC $LOCAL This […]