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 Search Wikipedia Pages in Linux Command Line?
The wp-cli tool provides a convenient way to search and access Wikipedia pages directly from the Linux command line. This command-line interface leverages the Wikipedia API to retrieve information and display it in your terminal without requiring a web browser, making it ideal for quick research and information lookup. Installing wp-cli First, install the wp-cli package on your Linux system using the package manager − sudo apt install wp-cli Reading package lists... Done Building dependency tree... Done The following packages will be installed: wp-cli 0 upgraded, 1 newly installed, 0 to ...
Read MoreHow to Send a Message to Logged Users in Linux Terminal?
If you are using a Linux system, there might be a possibility that you need to communicate with multiple logged-in users for various reasons, such as sending critical messages or notifications. Fortunately, there is a way to send messages to the users' terminals from the Linux command-line interface. In this article, we will guide you through the steps on how to send messages to logged-in users in the Linux terminal and also cover the process of checking who is currently logged in, selecting the recipients of the message, and finally sending the message. By following these simple steps, you ...
Read MoreHow 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 More