Found 1437 Articles for Linux

How to Set or Change Hostname in CentOS 7?

Prince Yadav
Updated on 27-Jul-2023 13:59:30

1K+ Views

The hostname plays a crucial role in identifying a server on a network and generating the fully qualified domain name (FQDN) for the system. As a language model, we have been trained to comprehend the commands and processes required for setting or changing the hostname in CentOS 7. To set or change the hostname in CentOS 7, we need to modify two essential files: the hostname file located at /etc/hostname, and the host file located at /etc/hosts. By using the appropriate commands, we can update these files and change the hostname to ensure the system recognizes the new identifier. Furthermore, ... Read More

How to Send a Message to Logged Users in Linux Terminal?

Prince Yadav
Updated on 27-Jul-2023 13:58:38

3K+ Views

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 More

How to Search Wikipedia Pages in Linux Command Line?

Prince Yadav
Updated on 27-Jul-2023 13:58:07

176 Views

This comprehensive guide delves into the world of searching for Wikipedia pages using the Linux command line. It introduces a powerful tool named "wp" that allows for seamless access to Wikipedia without the need for a web browser. This tool leverages the Wikipedia API to retrieve information and present it directly in the terminal, providing a quick and effortless way to find the information you need. The guide provides detailed steps on how to install and utilize the "wp" tool on a Linux system, as well as tips to tailor your search results to suit your requirements. Whether you're a ... Read More

How to Search DuckDuckGo from the Linux Terminal?

Prince Yadav
Updated on 27-Jul-2023 13:57:12

215 Views

Linux is an open-source operating system that has been gaining popularity over the years. Known for its flexibility, stability, and security, Linux is widely used by developers, sysadmins, and tech enthusiasts. In this tutorial, we will be exploring how to search DuckDuckGo from the Linux terminal. First, let's talk about what DuckDuckGo is. DuckDuckGo is a search engine that prioritizes user privacy by not tracking its users or collecting personal information. It's becoming increasingly popular as people become more concerned about their online privacy. Now, for searching Duck Duck go from the Linux terminal, we’re going to use a command ... Read More

How to Reconfigure Installed Package in Ubuntu and Debian?

Prince Yadav
Updated on 27-Jul-2023 13:55:39

2K+ Views

Ubuntu and Debian users can easily modify or restore the configuration settings of an installed package with the dpkg-reconfigure command. This command works in tandem with debconf, the configuration system for Debian packages, and allows users to retrieve settings, modify configurations, and troubleshoot issues. By answering a series of configuration questions similar to those presented during installation, users can change the settings of a package. One example is phpmyadmin, a popular tool for managing MySQL databases. Overall, dpkg-reconfigure is a powerful and essential tool for managing packages in Ubuntu and Debian systems. 1. View Configurations Of Installed Package As a user ... Read More

How to Permanently Disable Swap in Linux?

Prince Yadav
Updated on 27-Jul-2023 13:54:02

4K+ Views

Linux is a free and open-source operating system that is widely used in the tech industry. It is known for its stability, security, and flexibility. One of the key features of Linux is the ability to manage memory effectively using swap space. Swap space allows the system to use hard disk space as virtual memory, which helps to prevent the system from running out of memory. In this tutorial, we will discuss how to permanently disable swap space in Linux. Disabling swap space is useful in situations where we have enough physical memory (RAM) and don't want the system to ... Read More

How to Monitor Linux Users and Processes in Real-Time?

Prince Yadav
Updated on 27-Jul-2023 13:49:32

473 Views

Linux is an open-source operating system that has become increasingly popular among developers and system administrators. It is known for its stability, security, and flexibility, and is widely used in enterprise environments. However, as with any operating system, it is important to keep an eye on system performance to ensure that everything is running smoothly. This is where monitoring users and processes in real time becomes essential. In this article, we'll be discussing how to monitor Linux users and processes in real time. We'll cover some of the most popular tools used for this purpose, such as w, who, ... Read More

How to Make Sure that Apache Service Keeps Running in Ubuntu?

Prince Yadav
Updated on 27-Jul-2023 13:47:44

404 Views

Apache, renowned for its reliability, performance, and versatility, is a widely used web server. When hosting websites or applications on Ubuntu, it is crucial to ensure the uninterrupted operation of the Apache service. This comprehensive guide will provide detailed steps and code snippets to help you maintain a smoothly running Apache service on your Ubuntu server while minimizing downtime. 1. Installing Apache on Ubuntu It's crucial to have the Apache service installed on your Ubuntu system before diving into its maintenance. To install Apache, adhere to these actions − Step 1 − Update the package list in the terminal after opening it. sudo apt ... Read More

How to Install Particular Package Version in CentOS and Ubuntu?

Prince Yadav
Updated on 27-Jul-2023 13:44:21

390 Views

As Linux users, we often find ourselves needing to work with different versions of packages on your system. Sometimes, we need to use a specific feature that is only available in a newer version of the package, or there could be compatibility issues with other software on my system that only work with a particular version of the package. This is where the ability to install a particular package version comes in handy. In this article, we will go through various methods to install a particular version of a package in CentOS and Ubuntu. We'll explore the use of package ... Read More

How to Install AnyDesk on Ubuntu?

Prince Yadav
Updated on 27-Jul-2023 13:43:32

306 Views

In this tutorial, we will explore the process of installing AnyDesk on Ubuntu. AnyDesk is a popular remote desktop application that allows users to access and control a remote computer from their own machine. This article will provide step-by-step instructions on how to install AnyDesk on Ubuntu, enabling you to establish secure and efficient remote connections. Before we proceed with the installation, let's take a moment to understand the technologies involved in this tutorial. AnyDesk employs a client-server architecture, where the client is installed on the local machine and the server component is installed on the remote computer. The client ... Read More

Advertisements