≡ Menu

10 Xargs Command Examples in Linux / UNIX

The xargs command is extremely useful when we combine it with other commands.

This tutorials explains the usage of xargs command using few simple examples.

These example will help you understand the basics of how xargs command works. But, once you understand these concepts, you can come-up with your own clever examples of xargs to solve various command line problems.
[continue reading…]

In an Android App, menu is an efficient and friendly way to display multiple options, from which users can choose what they like.

Android provides the following three type of menus:

  1. Options menu
  2. Context menu
  3. Popup menu

[continue reading…]

How to Install Zenoss Core for Monitoring on Linux CentOS / RHEL

Zenoss is an open source agentless monitoring tool.

The main advantage of zenoss is that you don’t need to install any software on the client side for monitoring.

Zenoss has the following two versions:

  1. Zenoss Core (this is free)
  2. Zenoss Enterprise. This is also called as Zenoss Resource Manager, which is a paid version. This provides several additional features: High-availability, distributed architecture, event correlation, etc.

[continue reading…]

As a Linux sysadmin, sometimes you might end-up in a situation where you install a Linux distro as a Guest OS on a Windows based Virtualization software.

In those situations, it is helpful to understand some basics of Windows virtualization technologies.

Hyper-V is a Windows Server Virtualization based on Hypervisor technology, which enables virtualization on x86-64 systems.
[continue reading…]

How to Configure Nginx to Execute PHP Using PHP-FPM

Nginx is pronounced as “Engine-X”, which is a web server and reverse proxy server. Nginx is well known for its speed and ability to handle large number of requests simultaneously with optimal use of resources.

PHP-FPM stands for “PHP-FastCGI process manager”. CGI refers to the common gateway interface which is scripted to work as a interface between the web server and dynamic content serving programs. It listens on a port much like the web server itself does, and passes the request between the PHP and web server.

This tutorial provides instructions on how to install and configure Nginx with PHP-FPM, which will help you to execute PHP programs in Nginx.
[continue reading…]

When you are running RabbitMQ server in production environment, it is essential to monitor RabbitMQ to make sure it is up and running properly, and all the messages in the RabbitMQ are getting processed properly.

If you are already using Nagios for your enterprise monitoring, you can monitor RabbitMQ using plugins.

nagios-plugins-rabbitmq is a Nagios plugin package that currently has 6 checks to monitor various aspects of RabbitMQ server.
[continue reading…]

What is DNS and How DNS Works? (Domain Name Server Fundamentals)

DNS stands for Domain Name System, or Domain Name Server.

DNS resolves an IP address to a hostname or vice versa.

DNS is basically a large database which resides on various computers that contains the names and IP addresses of various hosts/domains. Other than ip-address DNS also associates various information with the domain names.
[continue reading…]

In Linux, while typing a command if you press TAB twice, it would list all available commands that starts with typed characters.

This is nothing new, probably you already know about this. This functionality is called bash completion. The basic file and directory name completion are available by default in bash command line.

But, we can turbo-charge this bash completion, and take it to the next level using complete command.

This tutorial explains how we can apply the auto-completion to options and to command’s arguments using programmable completion.
[continue reading…]