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 8 of 134
How to Create and Execute a .Jar File in Linux Terminal?
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 (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 applications, while also providing several ...
Read MoreHow to Create ASCII Text Banners in Terminal?
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 MoreHow to Download Files to Specific Directory Using Wget?
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, it's important to know how to specify the directory where the downloaded files will be saved. In this article, we will explore downloading files to a specific directory using wget. We'll examine the different command-line options and parameters that you can use to specify the download directory, along with practical examples to illustrate their usage. Basic Wget Syntax ...
Read MoreHow to Enable Syntax Highlighting in Vi/Vim Editor?
Vi/Vim is a highly adaptable text editor preferred by developers and system administrators. Among its many useful features, syntax highlighting stands out as a valuable tool for differentiating various code elements through color differentiation. This feature helps identify keywords, comments, strings, and other code components at a glance, significantly improving code readability and development efficiency. In this article, we will explore the steps involved in enabling syntax highlighting in Vi/Vim editor. Whether you are new to Vi/Vim or looking to enhance your skills, this comprehensive guide will help you take advantage of this powerful feature. How to Install ...
Read MoreHow to Install and Configure Nginx from Source on Linux?
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. Installing from source allows you to enable specific modules, optimize for your hardware, and use the latest features not available in package repositories. This approach is particularly useful for production environments requiring custom configurations. Prerequisites Before beginning the ...
Read MoreHow to Install 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 tutorial provides step-by-step instructions on how to install AnyDesk on Ubuntu, enabling you to establish secure and efficient remote connections. AnyDesk employs a client-server architecture where the client is installed on the local machine and the server component runs on the remote computer. We will use the APT package manager, Ubuntu's default package management system, to install AnyDesk from the official repository. Installing AnyDesk from the Official Repository To install AnyDesk on Ubuntu, we need ...
Read MoreHow to Make Sure that Apache Service Keeps Running in Ubuntu?
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 provides detailed steps and commands to help you maintain a smoothly running Apache service on your Ubuntu server while minimizing downtime. Installing Apache on Ubuntu Before diving into Apache maintenance, ensure the Apache service is installed on your Ubuntu system. Follow these steps to install Apache − Step 1 − Update Package List Open the terminal and update the package ...
Read MoreHow to Permanently Disable Swap in Linux?
Swap space is a portion of the hard disk that Linux uses as virtual memory. When the system runs out of physical RAM, it moves inactive pages to swap space to free up memory for active processes. However, there are scenarios where permanently disabling swap is beneficial — when you have sufficient RAM, want to improve performance, or need to reclaim disk space. In this tutorial, we will explore both temporary and permanent methods to disable swap in Linux, understand the implications, and learn how to verify the changes. What is Swap Space? Swap space acts as ...
Read MoreHow to Reconfigure Installed Package in Ubuntu and Debian?
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 without uninstalling and reinstalling it. Viewing Current Package Configuration The debconf-show command allows you to view the current configuration settings of any installed package. This is useful for troubleshooting or understanding how a ...
Read MoreHow to Search DuckDuckGo from the Linux Terminal?
DuckDuckGo is a privacy-focused search engine that doesn't track users or collect personal information. While most users access it through a web browser, Linux users can search DuckDuckGo directly from the terminal using command-line tools, eliminating the need to open a browser for quick searches. This approach is particularly useful for system administrators, developers, and terminal enthusiasts who prefer staying in the command-line environment while performing web searches. Installing DDGR DDGR (DuckDuckGo from the terminal using Python) is a command-line tool that provides terminal access to DuckDuckGo search functionality. It displays search results directly in your terminal ...
Read More