≡ Menu

FAQ

Question: When I try to launch any GUI application on a remote server, I’m getting the “cannot open display:” error, as shown below. How do I fix this? For example, while launching the gedit on remote server, I got the following message. (gedit:3658): Gtk-WARNING **: cannot open display: I get similar message when I try [...]

{ 13 comments }

Question: I would like to understand the basics of how to write and execute Forth program on Linux OS. Can you explain it with a simple example? Answer: If you’ve never heard about Forth program, read about it in Wikipedia first. In this article, let us review very quickly how to write a basic Hello [...]

{ 0 comments }

How to Change Root password on VMware ESXi

Question: How do I change root password on my VMware ESXi server? Answer: Go to the server console and do the following to set root password for your VMware ESX. 1. Start ESXi Configuration Menu To configure the ESXi, press F2 from the ESXi initial screen shown below. 2. ESXi System Configuration Menu Items From [...]

{ 1 comment }

How to Assign IP Address to VMware ESXi

Question: How do I perform network configuration on my new VMware ESXi installation? Answer: To set the ip-address, subnet mask and default gateway of your new VMware ESXi installation, follow the steps mentioned below. 1. Launch ESXi Console To configure the ESXi, press F2 from the ESXi initial screen shown below. 2. Go to Network [...]

{ 1 comment }

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 }

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 }

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. Install a DEPOT on HP-UX using swinstall swinstall command installs software from a software [...]

{ 2 comments }