Question: I know how to execute a Unix command in the foreground. Can you please explain me how I can execute a Linux command in the background? Answer: You can use one of the 5 methods explained in this article to execute a Linux command, or shell script in the background. 1. Execute a command [...]
SathiyaMoorthy
Monit is an open source utility that provides several system monitoring functionality that are extremely helpful to sysadmins. This article provides a jumpstart guide on monit installation and configuration. We also discuss a specific example related to processes monitoring. 1. Install monit On Fedora, openSUSE, Debian install monit as a package from the distribution repository. [...]
Earlier we discussed about Linux Directory Structure. This article is similar, but for Solaris. 1. / – Root Every single file and directory starts from the root directory. Only root user has write privilege under this directory. / is also the root account home directory. 2. /dev – Device files. Contains device files. These include [...]
Question: I have a *.deb file that I like to install on Red Hat. Is it possible to convert a *.deb to *.rpm package (and vice versa)? Answer: You can use alien command to convert *.deb to *.rpm file. Also, if you have a *.rpm file that you want to install on a Debian or [...]
Inside the /proc directory, you’ll see two types of content — numbered directories, and system information files. /proc is not a real file system, it is a virtual file system. For example, if you do ls -l /proc/stat, you’ll notice that it has a size of 0 bytes, but if you do “cat /proc/stat”, you’ll [...]
Installing software packages on HPUX can be little painful when it has lot of dependencies. depothelper utility will help you to download and install the software packages and all it’s dependencies automatically. 1. Install depothelper Download depothelper from depothelper-2.00. Unzip, and install it as shown below. # swinstall -s depothelper-2.00-hppa-11.31.depot 2. Use depothelper to install [...]
Using NFS (Network File System), you can mount a disk partition of a remote machine as if it is a local disk. This article explains how to export a file system to a remote machine and mount it both temporarily and permanently. 1. Export File System to Remote Server using exportfs To export a directory [...]
Question: I have created triggers in Oracle database. But, I’m new to PostgreSQL. Can you explain me how to create a trigger in Postgres with proper examples? Answer: A trigger can be used to execute a function when an event (insert, or delete, or update) occurs in a table. Let us review how to create [...]
My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Read more about