Found 1437 Articles for Linux

How to Install and Configure Nginx from Source on Linux?

Prince Yadav
Updated on 27-Jul-2023 13:42:41

339 Views

In this tutorial, we will explore the process of installing and configuring Nginx from Source on Linux. Nginx is a powerful and widely used web server and reverse proxy server that offers high performance, scalability, and flexibility. By installing Nginx from the source, we gain more control over the installation and can customize it to suit our specific needs. In this article, we will cover the complete installation process, starting from obtaining the necessary source code to configuring and running Nginx on our Linux system. By following the step-by-step instructions provided, you will be able to successfully set up and ... Read More

How to Force Users to Change Password at Next Login in Linux?

Prince Yadav
Updated on 27-Jul-2023 13:37:40

2K+ Views

Enforcing password policies is an indispensable security measure to safeguard your Linux system against unauthorized access in the realm of cybersecurity. In Linux, requiring users to change their passwords frequently is an effective way to improve your system's security. Ensuring the security of a Linux system is crucial for system administrators, and one effective way to achieve this is by implementing security measures that mandate users to change their passwords regularly. This article aims to provide guidance on how to enforce password changes during the next login for users on a Linux system. This article will present two methods ... Read More

How to Enable Syntax Highlighting in Vi/Vim Editor?

Prince Yadav
Updated on 27-Jul-2023 13:36:18

1K+ Views

Developers and system administrators prefer Vi/Vim as a highly adaptable text editor. Among its many useful features, syntax highlighting stands out as a valuable tool for differentiating various code elements through color differentiation. Furthermore, Vi/Vim offers a powerful range of customization options to tailor the editor to the specific needs of individual users. In this article, we will explore the steps involved in enabling syntax highlighting in Vi/Vim editor. With our step-by-step guide and examples, you will be able to take advantage of this feature to improve your coding experience. So, whether you are new to Vi/Vim or looking to ... Read More

How to Download Files to Specific Directory Using Wget?

Prince Yadav
Updated on 27-Jul-2023 13:35:09

11K+ Views

As frequent users of command-line tools, we often find ourselves needing to download files from the internet. One of the go-to tools for this task is "Wget, " which offers an efficient way to download files from the command line. However, we will find that it's important to know how to specify the directory where the downloaded files will be saved. In this article, we will share experiences with downloading files to a specific directory using "Wget." We'll explore the different command-line options and parameters that you can use to specify the download directory, along with practical examples to illustrate ... Read More

How to Create ASCII Text Banners in Terminal?

Prince Yadav
Updated on 27-Jul-2023 13:33:56

1K+ Views

Have you ever wanted to add a touch of creativity and fun to your terminal experience? One way to do so is by creating ASCII text banners in your terminal. ASCII art has been around since the early days of computers and can add a unique and personal touch to your command line interface. In this article, we'll explore how to create ASCII text banners in your terminal using a tool called FIGlet. We'll cover how to install and use FIGlet to generate customized ASCII banners with different fonts, sizes, and styles. Whether you're a seasoned command line user ... Read More

How to Create and Execute a .Jar File in Linux Terminal?

Prince Yadav
Updated on 27-Jul-2023 13:31:42

1K+ Views

Creating and executing a .jar file in Linux is a simple process that combines the compilation of Java source code and the packaging of class files and resources into a single file. With the terminal, you can easily compile your code, create a .jar file, make it executable, and run your Java application with ease. The JAR format, also known as the Java ARchive, offers a flexible and efficient way to package Java class files, resources, and metadata into a single, platform-agnostic file. The purpose of this format is to simplify the distribution and deployment process for Java runtimes, while ... Read More

How to create a Bootable USB from ISO in Linux?

Prince Yadav
Updated on 27-Jul-2023 13:31:00

6K+ Views

To create a bootable USB drive from an ISO file in Linux, we find it useful when installing a new operating system or running a live environment without affecting my existing system. It's also an excellent option when my computer lacks a CD/DVD drive, as USB drives are more common and easier to use. To start the process, we use the "lsblk" command to find the device name of the USB drive and then download the ISO file. we then mount the ISO file and use the mount and dd commands to copy its contents to the USB drive. When ... Read More

How to copy a file’s content from a Linux terminal?

Prince Yadav
Updated on 27-Jul-2023 13:28:11

4K+ Views

The robust command line interface (CLI) of Linux is renowned for enabling users to complete tasks quickly and effectively. Copying file content directly from the terminal is one of the many tasks Linux users frequently carry out. This article explores the subtleties of copying file content in Linux, explaining various approaches and providing detailed step-by-step instructions. Readers will gain a profound understanding of each strategy by carefully examining these approaches. Let's set out on this instructive journey to discover the complexities of copying file content in Linux. Method 1: Using the 'cat' Command In Linux, the 'cat' command is a ... Read More

How to Convert Images to WebP Format in Linux?

Prince Yadav
Updated on 27-Jul-2023 13:26:26

2K+ Views

In today's digital age, images play a vital role in websites and various digital projects. But, the larger the image size, the longer it takes to load, leading to a poor user experience. You probably want to know the solution to this. Fortunately, Google has developed the WebP image format, which offers superior compression and quality compared to traditional image formats like JPEG and PNG. In this article, we will delve into how you can convert images to the WebP format on Linux using the WebP tools. By converting your images to WebP format, you can significantly reduce their file ... Read More

How to Control Systemd Services on Remote Linux Server?

Prince Yadav
Updated on 27-Jul-2023 12:43:59

363 Views

As Linux users and administrators, we are responsible for managing services on remote Linux servers, which could include web servers like Apache or Nginx, or database servers like MySQL or PostgreSQL. To effectively manage these services, we need to have a strong understanding of the underlying system and service manager for Linux - systemd. Systemd is a robust and feature-rich system and service manager designed for Linux-based operating systems. It takes care of managing the initialization and termination of services, tracks system processes, and oversees system resources. It is widely acquired as the default system and service manager in many ... Read More

Advertisements