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
Find the Java SDK location on Linux
Finding the Java SDK location on Linux is a common task for developers who need to configure environment variables, set up IDEs, or manage multiple Java versions. This article demonstrates several reliable methods to locate your Java Development Kit (JDK) installation directory using built-in Linux commands. Understanding Java Installations on Linux On Linux systems, Java can be installed in various locations depending on the installation method and distribution. Common locations include /usr/lib/jvm/, /usr/java/, or /opt/java/. Additionally, many systems support multiple Java versions simultaneously, making it important to identify which version is currently active. Method 1: Using update-java-alternatives ...
Read More20 Useful PKG Command Examples to Manage Packages in FreeBSD
FreeBSD is a free and open-source Unix-like operating system based on Berkeley Software Distribution (BSD) system. It is widely used by developers, system administrators, and users who are looking for a reliable and secure operating system. One of the main features of FreeBSD is its package management system, which allows users to easily install, update, and remove software packages using the pkg command. Basic Package Management Commands 1. Installing Packages To install a package in FreeBSD, use the pkg install command followed by the package name − pkg install apache24 2. Updating All ...
Read MoreHow 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 More