Categories
Linux

cd

NAME cd – Change the shell working directory. SYNOPSIS cd [-L|-P] [dir] DESCRIPTION Change the shell working directory. Change the current directory to DIR. The default DIR is the value of the HOME shell variable. The variable CDPATH defines the search path for the directory containing DIR. Alternative directory names in CDPATH are separated by […]

Categories
Linux

Usage of Pipe (|) commad in Linux

Pipe command redirects the output of one command to input to another command.  That means helpful when we want output of one command to input put to the another command.  Pipe command represent symbol as |. For Example, a file contains list of 1 to 1000 numbers, lets use cat command to display name. But […]

Categories
Linux

How to change the hostname in Linux

This article describes the how the change the hostname in Linux machine. Let’s start. Open the network file. # sudo vi /etc/sysconfig/network Modify the HOSTNAME= value with your domain name. Example hostname is “myhostname” HOSTNAME = myhostname To access with in the server add it in /etc/hosts file 127.0.0.1 myhostname Run the “hostname” command. This command […]

Categories
Networking NGINX What

What is Reverse proxy and configure NGINX as a reverse proxy

What is Reverse Proxy:  Reverse proxy takes the request from the client over the network, forward to the server in an internal server and send back server’s response to the client. The advantage of Reverse proxy: The reverse proxy hides the existence and characteristics of the server. Reverse proxy protects the server from web-based attacks, DOS […]

Categories
Linux Networking

Linux – 10 Useful Networking Commands

Linux is powerful operating system and open source. It provides many inbuilt networking commands for troubleshooting. Here 10 useful networking commands. 1. ifconfig – configure a network interface We can configure network interface related parameters using the ifconfig command, in general, we use ifconfig command to check the IP address.  root@kali:~# ifconfig 2. dig: DNS lookup utility dig […]

Categories
Networking NGINX

How to install NGINX and configure as a Proxy or Load balancer server on Windows/Linux machine in simple steps

NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Download NGINX software. click here to redirect NGINX software download page. Installation and run on window machine: i. Copy downloaded […]