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 9 of 134
How to Set or Change Hostname in CentOS 7?
The hostname plays a crucial role in identifying a server on a network and generating the fully qualified domain name (FQDN) for the system. In CentOS 7, changing the hostname involves modifying key system files and applying the changes properly. This process requires updating the /etc/hostname file and the /etc/hosts file to ensure the system recognizes the new identifier. After making these changes, a system reboot ensures they take effect across all services and networking components. Step 1 − Check the Current Hostname Before making changes, verify the current hostname by opening a terminal and running the ...
Read MoreHow to Share Your Linux Terminal With Other Users?
As someone who often collaborates with other users and provides remote support, we know how important it is to have efficient ways of sharing a terminal or screen with others. Sharing your Linux terminal with other users can come in handy in several situations. For example, if you're working with a team of developers, sharing your terminal allows everyone to see and work on the same codebase simultaneously, regardless of their physical location. Similarly, if you need to provide remote support, sharing your terminal allows you to see the user's system and fix issues quickly and easily. Remote ...
Read MoreHow to Show Colorized Disk Space Usage in Linux?
Linux is a popular open-source operating system that has gained immense popularity over the years due to its flexibility and stability. As we use our computers for various tasks like downloading software, creating and storing files, and performing other tasks, it is crucial to keep an eye on disk space usage. If your disk space becomes full, it can lead to various performance issues and errors for your machine. Therefore, it is essential to monitor your disk space usage regularly. In this tutorial, we are going to explore how to show colorized disk space usage in Linux. We will ...
Read MoreHow to Synchronize Time with NTP in Linux?
Time synchronization is a critical aspect of computer systems, ensuring that clocks are accurate and compatible with other systems on a network. Incorrect time can cause several issues, such as inconsistent data, incorrect timestamps on files, and security vulnerabilities. Linux offers various methods for synchronizing time with network time servers, with the Network Time Protocol (NTP) being the most widely used approach. NTP is an open-source protocol that provides precise time synchronization between computer systems over packet-switched networks. This article will guide you through synchronizing time using NTP on Linux, covering installation, configuration, and status monitoring. Installing NTP ...
Read MoreHow to Use Aircrack-Ng in Termux?
Aircrack-ng is a powerful suite of tools designed for wireless network security assessment and penetration testing. When combined with Termux (an Android terminal emulator), it allows security professionals and ethical hackers to evaluate Wi-Fi network vulnerabilities directly from mobile devices. This guide provides a comprehensive walkthrough for installing and using Aircrack-ng in Termux for legitimate security testing purposes. What is Termux? Termux is an Android terminal emulator and Linux environment application that provides access to a command-line interface on mobile devices. It enables users to run Linux packages and utilities, making it popular among security researchers and developers ...
Read MoreHow to Use GNU bc (Basic Calculator) in Linux?
GNU bc (Basic Calculator) is a powerful command-line calculator utility in Linux that enables users to perform advanced mathematical calculations, including floating-point arithmetic, complex mathematical functions, and programmable calculations. It supports arbitrary precision arithmetic, making it ideal for both simple calculations and complex mathematical operations. Installing GNU bc Most Linux distributions include GNU bc in their default repositories. First, check if bc is already installed on your system − $ bc --version If bc is not installed, use your distribution's package manager to install it − Ubuntu/Debian-based systems: $ sudo apt-get ...
Read MoreHow to Use SSHFS on Linux?
SSHFS (SSH File System) allows you to mount a remote file system over a secure SSH connection. This enables you to access and manipulate files on a remote server as if they were stored locally on your Linux machine. SSHFS combines the security of SSH with the convenience of a file system interface. Installing SSHFS First, install SSHFS on your Linux system using the package manager. For Ubuntu/Debian systems − sudo apt-get install sshfs For RHEL/CentOS/Fedora systems − sudo yum install sshfs # or for newer versions sudo dnf install sshfs ...
Read MoreHow to View Configuration Files Without Comments in Linux?
In this article, I'll show you how to view configuration files without comments in Linux using a few simple commands. Removing comments from configuration files can help you more easily find the information you need and make modifications to system settings. We'll explore two methods to accomplish this task − using the grep and sed commands. With these methods, you can effortlessly streamline your Linux system's configuration files, making it easier to locate critical information and adjust settings as needed. If you need to remove comments from a configuration file in Linux, the grep command is a straightforward and ...
Read MoreHow to Watch Live Cricket Scores in Linux Terminal using Cricket-CLI?
If you are a cricket fan who uses Linux, you may be wondering how to keep track of live cricket scores on your terminal. Fortunately, there is a solution that can provide you with live updates without leaving the command line interface: Cricket-CLI. In this tutorial, we will show you how to use Cricket-CLI to watch live cricket scores in your Linux terminal. We will walk you through the installation process, explain how to use the tool, and even show you how to customize it to suit your preferences. What is Cricket-CLI? Cricket-CLI is a command-line interface ...
Read MoreInstall and use 7zip on Linux
Linux is a popular open-source operating system that offers many advantages, such as being free, customizable, and secure. One of the challenges that Linux users face is finding the right tools for certain tasks, such as compressing and decompressing files. Fortunately, 7zip is a powerful and versatile compression tool that can help us with this task. In this tutorial, we will walk through the process of installing and using 7zip in Linux. We will cover different ways to install 7zip, including via the command line and package manager, and provide step-by-step instructions. We will also explain the basic usage ...
Read More