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
Articles by Satish Kumar
Page 36 of 94
How to Find Linux OS Name and Kernel Version?
Linux OS identification is essential for system administration and troubleshooting. With hundreds of Linux distributions available, knowing your specific distribution name and kernel version helps ensure software compatibility, proper support, and effective system management. Why Linux OS Name and Kernel Version Matter The Linux distribution refers to your specific flavor of Linux (Ubuntu, Red Hat, Debian, etc.), while the kernel version is the core system component managing hardware resources, memory, and processes. This information is crucial when: Installing software packages and ensuring compatibility Seeking technical support or community help Troubleshooting hardware or driver issues Applying security ...
Read MoreHow to Disable IPv6 in RHEL, Rocky & AlmaLinux?
In today's digital age, internet connectivity plays a crucial role in our day-to-day lives. In order to connect to the internet, we need an address that identifies us on the network. This is where IP addresses come into play. IPv4 (Internet Protocol version 4) is the fourth version of IP addresses and has been used for many years. However, as technology advances and more devices connect to the internet, the number of available IPv4 addresses is running out. That's why IPv6 was introduced. What is IPv6 and Why Disable It? IPv6 (Internet Protocol version 6) is an updated ...
Read MoreCount occurrences of a char in a text file
We'll learn how to use Linux commands to count occurrences of a specific character in a text file. This tutorial covers three different approaches using grep, tr, and awk commands, along with their performance characteristics. We're assuming familiarity with common Linux commands including grep, awk, and tr. For demonstration, we'll use a sample file tpoint.txt containing: $ cat tpoint.txt "I Love Tpoint!!!" "Tpoint is great!!!" Using the grep Command The grep command searches for specific patterns in text files. To count character occurrences, we use the -o option to output each match on a ...
Read More20 Useful Security Features and Tools for Linux Admins
Linux is a popular operating system used by millions of users worldwide. As an open-source platform, it provides a high level of security and customization, making it an excellent choice for both personal and enterprise use. Linux admins are responsible for managing security of Linux systems, which can be a complex task. Fortunately, Linux offers many security features and tools that can help admins keep their systems safe. In this article, we will explore 20 useful security features and tools for Linux admins. Network Security Tools Firewall A firewall is a network security system that monitors and ...
Read MoreHow to Find openSUSE Linux Version?
openSUSE Linux is a popular operating system choice among computer users who seek flexibility, customizability, and stability. It is an open-source project that offers a range of features and applications intended to meet the needs of various users, from individual tech enthusiasts to large organizations. One of the critical elements that defines openSUSE Linux is its version. openSUSE Linux versions are released periodically and named after different regions in Germany. Each new release comes with new features, performance improvements, bug fixes, and security updates intended to enhance the user experience. Keeping track of the version you are using is ...
Read MoreFind all links for a specific file on Linux
In Linux, finding all links for a specific file is a common administrative task. A link in Unix/Linux systems is an association between two different files or directories. When you create a link, it creates a new name for the original file. There are two types of links: hard links (multiple names for the same inode) and symbolic links (shortcuts that point to another file path). Setup Example Let's start with a practical example. We have a file1.txt document and several symbolic links pointing to it from different locations: [tpoint@server1:~/test]$ ls -lrth total 12K -rw-r--r-- 1 tpoint ...
Read MoreExecute Bash Script Directly From a URL
Bash scripting is a powerful way of automating repetitive tasks and executing complex commands with a single script. With increasing popularity of web-based technologies, it's now possible to execute Bash scripts directly from a URL. This opens up new possibilities for web developers and system administrators who need remote script execution capabilities. What is Bash Scripting? Bash scripting is a type of scripting language commonly used on Unix-based systems such as Linux and macOS. Bash stands for Bourne-Again SHell, and it's a command-line interface that allows users to interact with the operating system by executing commands. Bash scripts ...
Read More20 Useful Terminal Emulators for Linux
Terminal emulators are an essential part of the Linux ecosystem, providing users with a way to interact with the command line and execute commands. While the command line may seem daunting to some users, the benefits of using a terminal emulator are immense. Terminal emulators provide advanced users with complete control over their Linux operating system, and can help novice users learn Linux command line. In this article, we will explore 20 of the most useful terminal emulators for Linux, highlighting their key features and benefits. Desktop Environment Default Terminals GNOME Terminal GNOME Terminal is the default ...
Read MoreHow to Disable NetworkManager in CentOS/RHEL 8?
NetworkManager is a daemon that manages network connections on Red Hat Enterprise Linux (RHEL) and CentOS systems. It handles both wired and wireless connections, including Ethernet, WiFi, mobile broadband, VPNs, and other network interfaces. The daemon provides a graphical user interface for managing network settings on desktop environments such as GNOME or KDE. NetworkManager is designed to automatically detect and configure connections based on the available network devices and their properties. It uses mechanisms like DHCP (Dynamic Host Configuration Protocol), PPP (Point-to-Point Protocol), and static IP addresses to connect to networks dynamically. Additionally, it supports advanced features like bonding ...
Read MoreCreate bash alias that accepts parameters
When working with Bash scripts or Unix/Linux command line tools, we often write the same command lines over and over again. Often, these command lines are long and must be repeated multiple times. For instance, when logging into a remote server daily, copying a local folder to the remote server, or searching for hidden files or directories within a directory. You can create aliases using the alias command. In this guide, I will show you how to create an alias that accepts parameters on Linux. This is useful if you want to run a single command repeatedly without having ...
Read More