≡ Menu

You can execute batch jobs in UNIX / Linux using any one of the three commands — at, batch or cron.

In this article, let us review how to schedule a job, view a job, and delete a job using at command.
[continue reading…]

The Bash shell provides some variables that are prefixed with ‘~’ (named tilde) which is called Tilde Expansions.

They are synonyms for contents of other variables within your shell.

Tilde expansion is the process of converting these abbreviations to the directory names that they stand for. In this article, let us review the tilde expansion feature with the examples.
[continue reading…]

8 Awesome Perl Command Line Arguments You Should Know

Command line options in Perl could be useful to do smaller tasks effectively.

In this article, let us review how to use Perl command line options to do the following tasks:

  • Edit file content
  • Handle line separator
  • Check syntax errors
  • Load modules
  • Perform looping
  • Execute perl code
  • Set input line separator
  • Split the input line
  • etc.,

[continue reading…]

Ask Yoda: What the Heck is RTFM?

Photo courtesy of Orange_Beard

When you are hanging out in your favorite forums or mailing lists, you might see a newbie asking for help and don’t know where to start.

Before you ask them to RTFM, ask them to read this post to understand about RTFM.

A young Padawan will eventually become a powerful Jedi Master. So, don’t be upset on the young padawan when he asks what is RTFM.
[continue reading…]

7 Chmod Command Examples for Beginners

Earlier we discussed about how to use octal permission bits with chmod. In this article, let us review how to use symbolic representation with chmod.
[continue reading…]

Bash Shell expansion

One of the operation of the shell when it analyzes the input is Shell expansion. Bash provides different types of expansion. In this article let us review an important expansion — “Brace expansion”.

This article is part of our on-going Bash Tutorial series.
[continue reading…]

Lzma Vs Bzip2 – Better Compression than bzip2 on UNIX / Linux

Lzma stands for Lempel-Ziv-Markov chain Algorithm. Lzma is a compression tool like bzip2 and gzip to compress and decompress files. It tends to be significantly faster and efficient than bzip compression. As we know, gzip compression ratio is worse than bzip2 (and lzma).

In this article, let us understand how to use lzma, an effective compression utility which is significantly better in compression ratio and faster operation.
[continue reading…]

An array is a variable containing multiple values may be of same type or of different type.  There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned contiguously. Array index starts with zero.

In this article, let us review 15 various array operations in bash.
[continue reading…]