Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Linux Articles
Page 111 of 134
Executing C# code in Linux
The .NET ecosystem was traditionally limited to Windows, but Microsoft's introduction of Mono changed this landscape. Mono enables the execution of .NET applications on Linux systems, making them run as if they were native Linux packages rather than Windows executable files. What is Mono? Mono is an open-source, cross-platform implementation of Microsoft's .NET Framework. It allows developers to run .NET applications on various platforms including Linux and macOS. Mono provides a complete development stack that supports Windows Forms, LINQ, XML web services, ADO.NET, and ASP.NET using the same CLR namespaces. Cross-Platform .NET with ...
Read MoreMost Frequently Used Linux IPTables Rules with Examples
This article provides a comprehensive collection of IPTables rules that you can use directly for common networking and security tasks. These examples serve as practical templates for configuring IPTables firewall rules to suit your specific requirements. Deleting IPTables or Existing Rules Before building new IPTables rules, clean up all default and existing rules using the flush command: # iptables --flush # iptables -F Setting Default Chain Policies Change the default policy from ACCEPT to DROP for enhanced security: # iptables -P INPUT DROP # iptables -P FORWARD DROP # iptables -P ...
Read More10 Netstat Command Examples on Linux
The netstat command is a powerful network utility that displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships on Linux systems. This command is essential for network troubleshooting and monitoring active connections on your system. Display All Connections To show all listening and non-listening sockets, use the -a option: netstat -a This displays both active connections and listening ports: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address ...
Read MoreHow to install Angry IP Scanner from PPA in Ubuntu/Linux Mint
Angry IP Scanner is an open-source and cross-platform network scanner designed for fast and simple IP address and port scanning. This lightweight tool allows users to scan IP addresses within any specified range through an intuitive graphical interface. When Angry IP Scanner detects an active IP address, it resolves the MAC address, hostname, and available ports. The collected data can be exported in multiple formats including TXT, CSV, XML, or IP-Port list files. Prerequisites Before installing Angry IP Scanner, ensure your system is running Ubuntu or Linux Mint with administrator privileges. The installation requires adding a third-party PPA ...
Read MoreHow to use OpenSSH Multiplexer To Speed Up OpenSSH Connections on Linux
This article will help you understand how to multiplex SSH sessions by setting up a master session and using a multiplexer to speed up SSH connections on Linux. What is SSH Multiplexing? SSH Multiplexing allows multiple SSH sessions to share a single TCP/IP connection. Instead of establishing separate connections for each SSH session, subsequent connections reuse the existing master connection, reducing server load and improving connection speed. SSH Multiplexing: Single Connection, Multiple Sessions Client Server Master TCP Connection ...
Read MoreLooking Up: Mastering the Nslookup Command in Linux with Examples
The nslookup command is a powerful network administration tool used in Linux for querying Domain Name System (DNS) records efficiently. Whether you are a novice or a professional, this command helps you troubleshoot and test DNS by mapping domain names to IP addresses, as well as providing valuable information on various resource records such as MX and NS. In this article, we will explore the basics of nslookup command usage through practical examples along with advanced techniques that enhance its capabilities for network troubleshooting and DNS administration. Basic Usage of Nslookup Command The basic usage of the ...
Read MoreHow to Watch TCP and UDP Ports in Real-time in Linux?
In computer networks, services running on Linux systems communicate using protocols like TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) along with specific port numbers. Monitoring these ports in real-time helps system administrators track network activity, troubleshoot connectivity issues, and ensure security. List of Open Ports To view all currently open ports that are listening for connections, use the netstat command with specific flags ? $ sudo netstat -tulpn The flags have the following meanings ? t − Enable listing of TCP ports u − Enable listing of UDP ports l ...
Read MoreHow to View Colored Man Pages in Linux?
Man pages are important reference documents for Unix/Linux users, but their default appearance is plain text that can be hard to read. This article shows how to add colors and highlighting to man pages to make them more readable and easier to follow. Using most The most command is a pager that can display colored man pages. First, install it using your package manager ? sudo apt install most Once installed, add most as your default pager by adding this line to your .bashrc file ? export PAGER="most" Reload your ...
Read MoreHow to Run a Command with Time Limit (Timeout) In Linux
Sometimes a Unix command may run for a very long time without giving the final output or it may keep processing giving partial output from time to time. In such scenarios we need to put a time frame within which either the command must complete or the process should abort. This is achieved by using timeout tools. Using timeout Tool The timeout tool forces a command to abort if it cannot complete within a given time frame. This is a built-in utility available on most Linux systems. Syntax timeout DURATION COMMAND [ARG]... Where ...
Read MoreHow to Find a Specific String or Word in Files and Directories in Linux
Finding specific strings or words across multiple files in Linux is a common task for developers and system administrators. This article explores several Linux commands to efficiently search for text patterns across files and directories. Using grep The grep command is a powerful regular expression search tool that matches text patterns in files. At its basic level, it searches for a string within specified files ? grep 'string' directory-path/*.* Example grep 'config' hadoop-2.6.5/etc/hadoop/*.* The output shows all files containing the word "config" ? hadoop-2.6.5/etc/hadoop/capacity-scheduler.xml: hadoop-2.6.5/etc/hadoop/core-site.xml: hadoop-2.6.5/etc/hadoop/hadoop-policy.xml: hadoop-2.6.5/etc/hadoop/hdfs-site.xml: ...
Read More