June 2010

Question: I would like to know how to install, uninstall, verify depot packages on HP Unix. Can you explain me with an example?

Answer: Use swinstall to install a depot package. Use swremove to remove a depot package as explained below.
(more…)

{ 0 comments }

How to do Perl Hash Reference and Dereference

by Balakrishnan Mariyappan on June 18, 2010

Question: How do I reference perl hash? How do I deference perl hash? Can you explain it with a simple example?

Answer: In our previous article we discussed about Perl array reference. Similar to the array, Perl hash can also be referenced by placing the ‘\’ character in front of the hash. The general form of referencing a hash is shown below.
(more…)

{ 1 comment }

Perl Array Reference and Dereference Tutorial With Practical Examples

by Balakrishnan Mariyappan on June 17, 2010

In this article let us review how to reference and dereference Perl array with examples. Reference is nothing but the location ( address ) of another variable. The references can be of array, or hash, or a snippet of Perl code. References makes the Perl code to run faster.
(more…)

{ 2 comments }

VMware Server runs on top of an existing host operating system (Linux or Windows) as shown below. This is a quick way to get started with the VMware. Refer to our VMware introduction article to get a high level understanding on virtualization fundamentals.
(more…)

{ 4 comments }

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.
(more…)

{ 10 comments }

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.
(more…)

{ 6 comments }

8 Awesome Perl Command Line Arguments You Should Know

by Balakrishnan Mariyappan on June 10, 2010

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.,

(more…)

{ 5 comments }

Ask Yoda: What the Heck is RTFM?

by Ramesh Natarajan on June 9, 2010

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.
(more…)

{ 10 comments }