Linux Articles

Page 26 of 134

How to download a Tarball from GitHub on Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

GitHub is an online source code repository and hosting service for open-source projects that provides version control, collaboration, and project management features. Downloading tarballs (compressed archive files) from GitHub allows you to get the source code without cloning the entire repository history. There are several methods to download a tarball from GitHub on Linux systems. The most common approaches use command-line tools like wget and curl to fetch repository archives directly from GitHub's servers. Using wget Command wget is a dedicated non-interactive network download tool that supports HTTP and HTTPS protocols. It's perfect for downloading repository archives ...

Read More

How to replace string in a large one line, text file in Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

Some software reads an entire input file into memory before processing it. If the input file contains a very long single-line string, the software may crash due to insufficient memory to hold the entire string. We'll examine methods to replace strings in very large one-line files in Linux. Since some applications cannot handle extremely large single-line files efficiently, we need specialized approaches that don't load the entire file into memory at once. Target File Modern JavaScript frameworks often compress all code into a single line. Consider a one-line JavaScript file called original.js with an error — it ...

Read More

Bashtop – A Resource Monitoring Tool for Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 772 Views

If you are a Linux user, you may have experienced some difficulties when it comes to monitoring system resources. Keeping track of CPU usage, memory usage, network activity, and other important system statistics can be a challenging task. Fortunately, there are several open-source tools available that make it easy to monitor system resources. In this article, we will be discussing one such tool − Bashtop. What is Bashtop? Bashtop is a resource monitoring tool for Linux that provides real-time information on system resources. It is a terminal-based application that displays a live graph of system resources usage, making ...

Read More

Best Lightweight Linux Distributions For Older Computers

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

If you have an older computer lying around that's just not powerful enough to run modern software, you may think it's time to send it off to the recycling center. But before you do, consider installing a lightweight Linux distribution. These operating systems are designed to run on older, less powerful machines and can breathe new life into your aging computer. In this article, we'll take a look at some of the best lightweight Linux distributions for older computers. We'll cover the benefits of these operating systems, what to look for when choosing one, and detailed examples to help ...

Read More

5 Best CLI Tools to Search Plain-Text Data Using Regular Expressions

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 591 Views

In the world of programming, Command-Line Interfaces (CLI) tools play a significant role in simplifying day-to-day work. They help perform complex tasks with simple commands, and searching plain-text data using regular expressions is no exception. Regular expressions are a powerful way to match patterns in strings, and they are supported by several CLI tools. This article covers the 5 best CLI tools for searching plain-text data using regular expressions. Grep Grep is the most commonly used CLI tool for searching plain-text data using regular expressions. It is a command-line utility that searches for patterns in files or input ...

Read More

5 Shell Scripts for Linux Newbies to Learn Shell Programming

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 747 Views

If you're new to Linux, learning shell scripting can seem daunting at first. However, shell scripting can be an incredibly useful skill to have when working with Linux systems. Shell scripts can automate repetitive tasks, perform system administration tasks, and even help with software development. In this article, we'll look at five essential shell scripts that Linux newbies can learn to get started with shell programming. We'll cover some basics of shell scripting, and provide examples of each script to help you understand how they work. What is Shell Scripting? A shell script is a program written ...

Read More

5 Useful Tips for Better Tmux Terminal Sessions

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 988 Views

Are you tired of constantly opening and closing terminal windows or having to navigate through multiple sessions at once? Tmux (Terminal Multiplexer) is a powerful tool that can help you manage multiple terminal sessions within a single window. Here are 5 useful tips to improve your Tmux terminal sessions and enhance your productivity. Learn Basics of Tmux Before you start using Tmux, it's important to understand basic concepts and commands. Here are a few key terms − Session − A collection of one or more windows. Window − A single screen that contains one or more ...

Read More

Difference Between sh and Bash in Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 15K+ Views

sh and bash are both command-line shells used in Unix-like operating systems, but they serve different purposes and have distinct capabilities. sh (Bourne shell) is the original POSIX-compliant shell, while bash (Bourne Again Shell) is an enhanced, feature-rich successor that extends sh's functionality. What is sh? The sh shell, originally developed by Stephen R. Bourne at Bell Labs, is the standard POSIX shell specification. It provides a minimal, portable command-line interface that works consistently across different Unix systems. sh focuses on compatibility and standardization, making it ideal for writing portable scripts. #!/bin/sh echo "This is a ...

Read More

How to find total physical memory (RAM) size on Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

We can often get away without checking for total memory usage on servers running Linux. However, sometimes we may want to know the total memory available on our servers. Luckily, there are various ways to accomplish this task. In this tutorial, I'll show you some of them. Using free Command The free command is the simplest among the various commands we'll encounter. It displays the current amount of physical and virtual RAM being utilized by your system. You can run the free utility without any flags to get an idea about how much RAM is currently being used ...

Read More

How to read a Specific Line From a File in Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 15K+ Views

When working with the Linux command line, reading specific lines from text files is a common task. Rather than viewing entire files, you often need to extract just one particular line based on its line number. This article explores four different methods to read a specific line from a file using various Linux commands and utilities. Sample File Setup Let's create a sample file called test.txt to demonstrate these methods − $ nl test.txt 1 This is line 1, I don't have any interesting data. ...

Read More
Showing 251–260 of 1,337 articles
« Prev 1 24 25 26 27 28 134 Next »
Advertisements