≡ Menu

June 2010

Perl Exporter Tutorial with Examples – @EXPORT and @EXPORT_OK

Export allows to export the functions and variables of modules to user’s namespace using the standard import method. This way, we don’t need to create the objects for the modules to access it’s members. @EXPORT and @EXPORT_OK are the two main variables used during export operation. @EXPORT contains list of symbols (subroutines and variables) of [...]

{ 11 comments }

As part of the on-going VMware article series, earlier we discussed about VMware virtualization fundamentals, and how to install VMware Server 2. In this article, let us discuss about how to install VMware ESXi. VMware ESXi is free. However, the software comes with a 60 days evaluation mode. You should register on VMware website to [...]

{ 43 comments }

FTP and SFTP Beginners Guide with 10 Examples

FTP is File Transfer Protocol. SFTP is secure FTP. In this article let us review how to connect and login to a remote ftp server for downloading and uploading files using ftp or sftp command. Most of the ftp commands are applicable to sftp. So, wherever ftp is mentioned, you can use sftp also. 1. [...]

{ 29 comments }

Bash expression is the combination of operators, features, or values used to form a bash conditional statement. Conditional expression could be binary or unary expression which involves numeric, string or any commands whose return status is zero when success. There are several conditional expressions that could be used to test with the files. Following are [...]

{ 7 comments }

Bash conditional statements perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false. These statements are used to execute different parts of your shell program depending on whether certain conditions are true. The ability to branch makes shell scripts powerful. In Bash, we have the following conditional statements: [...]

{ 20 comments }

Geeky Wrap-up: Week of Jun 14, 2010

While the Lakers were celebrating their championship, and Roger Federer was getting ready to defend his Wimbledon title, this is what happened at The Geek Stuff this week. Monday: The Magic ~: Bash Tilde Expansion with 5 Examples Other than “cd ~”, to jump to your home directory, ~ can do lot more tricks. For [...]

{ 2 comments }

Question: I would like to know how to install, uninstall, verify deb packages on Debian. Can you explain me with an example? Answer: Use dpkg to install and remove a deb package as explained below. On Debian, dpkg (Debian package system) allows you to install and remove the software packages. dpkg is the simplest way [...]

{ 5 comments }

Question: I would like to know how to install, uninstall, verify sparc packages on Sun Solaris. Can you explain me with an example? Answer: Use pkgadd to install a sparc package. Use pkgrm to remove a sparc package as explained below. Packages on Solaris allow easy installation and extraction of software. All the parts of [...]

{ 1 comment }