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 120 of 134
How to Copy and Paste in Vim?
Linux has a suite of software and tools that Linux users and administrators use to develop or manage the operating system. One of the most commonly used tools is Vim. Vim is a popular text editor, or even an IDE, that can be used for everything from editing text to developing software to simple tasks like editing a script. It’s easy to use, but it requires some time to learn and remember all the commands and how to switch between different aspects and modes. One of the most essential functionalities for beginners using Vim is copying and pasting. At first, ...
Read MoreHow to Monitor Linux Users and Processes in Real-Time?
Linux 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 it becomes essential to monitor the users and processes in real time. In this article, we will show how you can monitor Linux users and processes in real time. We'll cover some of the most popular commands used for this purpose such as w, who, last, top, htop. In addition, we will also highlight how to use these ...
Read MoreHow to Install and Configure MariaDB on Ubuntu?
MariaDB is one of the most popular relational database systems out there that can be used to store data. MariaDB is a fork of the popular database MySQL and provides some improvements and features over the classic MySQL. There is often confusion in this area, many developers think that MariaDB is just MySQL, but in reality, it's not. Even though MariaDB is a fork of traditional MySQL, it adds more functionality and features that make it special and better than MySQL. If you are an open-source activist and prefer to use open-source software, it's better to use MariaDB over MySQL. ...
Read MoreHow to install and use ASDF Version Manager?
If you are a DevOps engineer, a Linux sysadmin, or even just a developer, you may have faced the annoying problem of managing versions in your development environment. Luckily, we now have a tool that can manage this for us out of the box, called ASDF. ASDF stands out for its ability to install multiple languages and development tools. It advantageously replaces the use of multiple language-specific version managers, such as NVM for Node.js or Pyenv for Python. This greatly simplifies the setup of the development environment, as you only need one tool to manage all your versions. ASDF allows ...
Read MoreHow to Customize Linux Shell Environment?
The shell is the interface between the user and the system. It can be used to do anything you want on your system. In Linux, there are several types of shells that we can use and interact with. In this article, we will explain how to use and customize the shell environment a little bit and introduce some ideas of what you can do to make your shell environment more custom, depending on your needs. If you are new to Linux, you probably only know the bash shell, but it's not the only one we can use. There are other ...
Read MoreMicro Text Editor – An Alternative to Vim
Vim is a well-known text editor in the terminal, used by many developers and sysadmins around the world. However, it is also known for its complicated keybindings and modes. You may want to use Vim, but for those reasons, or if you don't want to invest much time just to learn a text editor, we have the solution: Micro, an awesome and easy-to-use terminal text editor. Micro, as the name implies, is a lightweight and easy-to-install editor that comes with a lot of features and capabilities. In this article, we will go through how to install Micro and how to ...
Read MoreConditional Statements in Bash Script
Bash script, like other programming languages, has features such as if statements, loops, and other useful constructs that make the language powerful and versatile. One of the most important concepts to understand when working with bash, or on the path to mastering bash scripting, is conditional statements. Conditional statements allow us to execute certain code or operations based on a given condition. In this tutorial, we will learn how to use if statements in bash scripts with examples and explanations. What is a Conditional Statement? In general, a conditional statement allows us to perform an action based on the value ...
Read MoreHow to Use Podman to Search for an Image in the Registry?
When we talk about applications that we take and run in the container world, we call this an image, which we save somewhere and run for as long as we need it. We have a lot of places where we can find an image; we call these image registries. We may have the image locally on our machine or in a specific place like the Internet (image repository or registry). Podman helps us deal with those registries. For example, we can search for a specific image in the image repository. If you search for an image for httpd, what you ...
Read MoreHow to Install Podman in Linux?
Podman is in the official repository for almost all distributions, making it easy to install. On Ubuntu / Debian / Mint. sudo apt install podman For Red Hat / Fedora sudo dnf install podman For Windows, it’s recommended to use WSL (Windows Subsystem for Linux) to install and use Podman. You can install Podman in WSL using the command: sudo apt install podman -y If you are a Mac user, the best option is to use Homebrew to install Podman. If you don’t have Homebrew installed, first install it with the command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ...
Read MoreHow to create a container using Podman?
These days, we hear a lot about the terms containers and VMs, and if you are a beginner, it's hard to differentiate between these terms and technologies that are similar and almost do the same work. In this comprehensive tutorial, we will explain in an easy way what a container is, what a container engine is, and finally, we will install and use Podman as a container technology to run our first container. What is a Container? To understand what a container is, basically let's take an example where we have an application that uses PHP version 8, for instance. ...
Read More