How to open a port on Linux is a common question when testing a firewall-related problem. In this article, we will use nc command and Python code to open a TCP port manually on Linux and check if this port is working or not. Methods to open a port in Linux The following Linux commands …
Tcpdump is a very powerful Linux command to capture packets. We collect the following tcpdump command examples to help you quickly filter the packets you need. How to filter ipv6 ntp ping packets with tcpdump? Filter packets larger than the MTU # tcpdump -i eth0 greater 1500 Filter ping packets # tcpdump -s0 -i eth0 …
How to list MAC address on Linux is a commonly asked question during a Linux job interview. Here are some methods to get the MAC address. These commands are safe to run without changing anything. The following commands can get you the MAC address of your network interface in Linux. ifconfig -a ifconfig eth0 ip …
Linux Performance is an important task for Linux admins. Irqbalance is a command-line tool that distributes hardware interrupts across processors to improve system performance. We will cover irqbalance service today to see why we can get better network and storage performance by enabling it. What is irqbalance? Irqbalance is a daemon to help balance the …
Linux network management is an important task for Linux admins. We’ll cover the basics of network status via the Linux command line today. These Linux commands below are based on the TCP/IP model. These commands are safe to run without changing any of our network configurations. Check network status using ifconfig command in Linux To …
Linux is a multi-user system. It is always important to know who has logged into your Linux box. This isn’t just to help track the activities of malicious users, but mostly to figure out who made the mistake that crashed the system. We collect 6 Linux commands for this task. The following Linux commands can …
Checking remote port status is a common task for Linux admin. Now we collect 6 different ways for this task. We don’t need to install any package if we use the following two python commands. We need to install the package if we choose nc, nmap,telnet. Methods to check if a remote port is open …
Pip is the package installer for Python. We can use pip to install packages that are not distributed as part of the standard library from the Python Package Index and other indexes. How to install Pip on Linux? How to install & remove a python package with Pip Install a python package with a specific …
Wix is a very popular website builder. It is used by over 100 million people across 190 different countries. Today we will share how to add a table of content to Wix blog by python code. How to add a table of content to Wix blog? curl website link > filename curl https://www.howtouselinux.com/post/15-linux-multipath-examples-for-linux-admin >howtouselinux python …
DHCP is a network protocol used on IP networks where a DHCP server automatically assigns an IP address and other information to each host on the network. We can use tcpdump command to filter DHCP packets. How DHCP Works? DHCP operations fall into four phases: server discovery, IP lease offer, IP lease request, and IP …