Linux – Page 3 – POFTUT

Category: Linux


How To Get Linux Network IP Address In Different Ways ?

We can determine Linux system IP address in different ways. IP address is used to communicate over network and can be get and set in different ways. In this tutorial we will use Ubuntu distribution but given examples and commands will work for all of the different Linux distribution like Fedora, CentOS, Debian, Kali, Mint, RHEL etc. Hostname Command IP Address hostname command is mainly used to show or set...


What Is Linux, Unix Socket?

Socket is a mechanism which provides connection between two process or system by using network stacks. In a more clear way we can use sockets communicate and transfer data between two system. As we know Unix and Linux systems works on file logic. Everything in operating system is file where network connections are files too. Use Cases Sockets can be used in different cases. We can use socket to transfer data...


What is Address Resolution Protocol (ARP) and How It Works?

Address Resolution Protocol (ARP) is auxiliary protocol used by Internet Protocol (IP). ARP is defined with RFC826 and gained main stream over computer networks. ARP is used to resolve IP address with MAC or hardware address of the network interface. As we know MAC address is used to identify nodes in a local network. How ARP Works ARP resolution works very simple way. The source creates requests to get MAC...


Linux ethtool Tutorial with Usage Examples

ethtool  is useful utility used for Network Interface Card configuration. It provides simple and fast way to get and set configuration about IP address, interface speed, interface duplex or half duplex etc. List and Printer Interface Properties We will start with simply listing given network interface properties. We will see that there is a lot of network interface properties which is outputted by ethtool . For this operation we do not...


TTL Expired In Transit Error and Solution

TTL is the short code for Time To Live. TTL is located in IP packets where it is used to hold the count of intermediate hops. TTL is value is set by source host. Windows operating system set it to 64 where Linux operating systems set to 128. Every router or intermediate host the packet pass will decrease the TTL value of the IP packet. TTL generally used with different...


How To Login To Linux with Passwordless via SSH with Key Based Authentication?

Ssh provides secure remote connections to the remote systems. It is defacto protocol used to manage Linux and networking systems remotely via command line. Ssh provides a lot of extra features which makes it useful for different purposes. For example we can copy files to remote and local system via ssh with a secure manner. In order to make things straightforward we can use passwordless key based authentication for ssh...


How To Monitor Network Traffic and Statistics with ntop Tool?

ntop is network traffic and statistic monitoring tool. ntopprovides similar philosophy to top command. There is also web based gui which makes it elegant to use. ntop packages are provided by popular distributions like Ubuntu, Debian, Mint, Fedora, CentOs, RHEL etc. Install ntop For Debian, Ubuntu, Kali, Mint We can install ntop with apt like below.

Install ntop For Fedora, CentOS, RHEL We can install ntop tool with the...


Linux Multipurpose Relay Socat Command Tutorial with Examples

Linux provides different philosophy and use cases from system point of view. socat is very interesting command which provides us the ability to redirect input and outputs from different type of system resources like network, file, command, socket etc. Install For Debian, Ubuntu, Mint and Kali socat can be install dpkg based distributions like below by using apt command.

Install For Fedora, CentOS, RHEL We can install for Fedora,...


How To Install and Configure Squid Web Proxy Server On Linux?

Corporate generally uses web proxies in order to speed up and secure internet web traffic. There are a lot of paid or open source web proxy applications. Squid is most popular web proxy used by a lot of users. In this tutorial we will look how to install and configure squid proxy. Advantages Of Squid Web Proxy Share internet connection Speed up internet web surfing Control internet web surfing Secure...


How To Ping Specified Port Number?

Ping is very popular term used by system or network administrators. Ping means checking given remote system whether it is up. Ping is a simple tool which uses ICMP protocol to check remote host. Some times ping port can be used with similar intentions. In this tutorial we will look how to ping remote system given ports. Ping Remote System We will start with regular ping. This will show us...

Enjoy this blog? Please spread the word :)