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 118 of 134
How to purge disk I/O caches on Linux?
Most modern operating systems rely on disk I/O caching to improve system performance by storing frequently accessed data in memory. However, there are times when you might want to clear these caches, such as when benchmarking disk performance, troubleshooting, or ensuring that data is read from the disk rather than memory. This tutorial will guide you through the process of purging disk I/O caches on a Linux system but first let's dive into brief detail on what disk I/O caches are. Understanding Disk I/O Caches Linux uses a portion of system RAM to cache disk reads and writes, which speeds ...
Read MoreHow to Install WhatsApp on Linux?
WhatsApp is one of the most popular messaging applications worldwide, known for its simplicity and robust features. It allows you to share pictures, videos, make audio and video calls, one-to-one or in groups, with your friends and family. Moreover, there are plenty of groups and channels in WhatsApp for everyone which you can explore and join as per your interests. While it is primarily designed for mobile devices running Android and iOS, many users wish to access it on their desktop systems, including those running Linux. For Windows and Mac systems, WhatsApp provides official binaries for installation on your desktop ...
Read MoreHow to Get the IP Address of a Machine From Bash?
IP address stands for Internet Protocol address, which is a unique string of numbers assigned to each device connected to a computer network that uses the Internet Protocol for communication. A system needs an IP address for various networking tasks in Linux, like setting up network connections, configuring services like file sharing, SSH or FTP or troubleshooting network-related issues, etc. An IP address can be classified into two main categories, public and private. A public IP address usually can be accessed from the Internet, whereas private addresses are reserved for internal use within your private network without being directly exposed. ...
Read MoreHow to Convert an Image to Grayscale From Bash?
Converting images to grayscale is a common image processing task that can be easily accomplished using command-line tools in Bash. This tutorial will show you several methods to convert images to grayscale using popular image manipulation utilities. Using ImageMagick ImageMagick is one of the most powerful and widely used command-line tools for image manipulation. Before you can use it, you must install it on your system. In Ubuntu, you can install it using apt as − # Debian/Ubuntu $ sudo apt install imagemagick # RedHat/CentOS $ sudo dnf install ImageMagick After installation, here are some of the methods ...
Read MoreHow to Add File Extension to Files From Bash?
In an operating system, file extensions usually help identify file types and ensure proper handling by applications. When working with files in a Unix-like operating system including Linux, you may encounter situations where files sometimes lack extensions, making it difficult to identify their types or open them with the appropriate applications. Fortunately, Bash, the default shell on many Linux distributions, provides powerful tools to simplify the process of adding file extensions. This tutorial will guide you through various options that you can use to add file extensions to files using Bash. Adding File Extension using the mv Command The simplest ...
Read MoreHow to Install Artix Linux in VirtualBox?
Artix Linux is a fast, customizable and user-friendly Linux distribution based on Arch Linux. It is now more stable and secure than its predecessors while using real init systems instead of systemd. Artix Linux can be installed either by console (text-based) or GUI installer. Although GUI installers are an easier and faster option at least for beginners and novice users. In this article, we'll cover installation of Artix Linux via GUI installer method. Besides there are some pre-requisites that you need to have on your system before beginning the installation, which we'll cover next. Prerequisites Ensure that VirtualBox is installed ...
Read MoreHow to Configure CentOS Local Yum Repository?
Yum repository is a central database of software that is used for installation/upgrade of packages on a Red Hat/CentOS based Linux server. This repository includes software that are used by system as well as for user level programs. An administrator can set-up a custom local yum repository instead of using the default ones provided by the OS for several reasons like: to provide normal or specialized software packages possibly in a restricted network environment; to maintain version levels across a set of servers; to optimize network bandwidth usage; to adhere to organization policy for maintaining security or possibly a combination ...
Read MoreHow to Change Apache Port in Linux?
Apache HTTP server (often called Apache) is an open-source, cross-platform web server developed by Apache Software Foundation. It is one of the most popular web servers available used for hosting web sites and serving web content. By default, Apache works on port 80/tcp for HTTP and 443/tcp for HTTPS. There are situations (like security considerations, port conflicts with other programs or need to run multiple web servers) where one may need to modify these default ports which the web server listens on. Changing Apache Port on Linux Read this tutorial to learn how to change HTTP port for Apache on ...
Read MoreUsing Secure Copy Protocol to Copy and Transfer Files in Linux
Secure Copy Protocol (scp) helps to securely transfer files between hosts on a network. It relies on SSH (secure shell) using SFTP protocol to create a secure connection and encrypt the data during transit whether it is a single file or whole directory. scp uses the same authentication as SSH and provides the same security as a login session. It'll prompt for password or passphrases, if required. If SSH keys are configured between local and remote systems for the involved user(s), scp can run without any prompts to the user. This article will show you how you can ...
Read MoreHow to Install VirtualBox on CentOS?
VirtualBox is an open-source, cross-platform virtualization tool by Oracle which allows us to create and run multiple operating systems simultaneously on a single physical machine. As a Type-2 Hypervisor, VirtualBox is installed on top of an operating system such as Windows, Linux or Mac and provides both headless interface and GUI (Graphical User Interface) for creating and managing virtual machines. Installing VirtualBox Step-by-step process for installing VirtualBox on a CentOS 9 machine is as follows: Initially, check if your system supports virtualization with the command below: $ lscpu | grep -i virtualization Virtualization type: full $ In case, there’s ...
Read More