UNIX Command Line Tools For MS-Windows XP / Vista / 7 Operating Systems

There are several UNIX command line tools available for Windows operating systems, including: Cygwin: Cygwin is a Linux-like environment for Windows that provides a collection of tools and utilities, including shells, compilers, editors, and other development tools. It offers a UNIX-like environment on Windows, allowing users to run many UNIX commands and utilities natively. Windows … Read more

Handling nginx Failover With KeepAlived

Keepalived is a free, open-source software package that provides failover and load-balancing services for Linux-based systems. It is commonly used to manage web servers and proxies, including nginx. In this example, we will set up a failover cluster with two nginx servers, one acting as the master and the other as a backup. Here are … Read more

HowTo: RPM List Files

To list the files contained in an RPM package, you can use the rpm command with the -ql option. Here’s how to do it: Open a terminal and run the following command to list the files contained in an RPM package: rpm -ql package-name Replace package-name with the name of the RPM package that you … Read more

Linux Create A Bootable USB Pen

To create a bootable USB pen drive in Linux, you can use the dd command to write the ISO image to the USB drive. Here’s how to do it: Insert the USB pen drive into a USB port on your computer. Open a terminal and type the following command to find the device name of … Read more

Bash History Display Date And Time For Each Command

By default, the history command in Bash shows a list of recently executed commands with their respective line numbers. However, it does not display the date and time when each command was executed. (www.utahcnacenters.com) To show the date and time for each command in the Bash history, you can set the HISTTIMEFORMAT environment variable. Here’s … Read more