Home Learn Linux

Learn Linux

How to backup and restore Linux Terminal history

Linux Terminal comes with a handy feature called "history." Every command entered in the terminal gets saved in a file called ".bash_history." A history file is created for each user and can be found in the user's home directory, for example, "/home/username/.bash_history."

7 Best Ways to Kill Unresponsive Programs in Linux

For dealing with a frozen app or desktop, you can't use the CTRL+ALT+DEL in Linux system. Instead, there are powerful alternatives that come in handy in frustrating situations. We pick the best methods available for you.

How to use htop command to monitor system processes in real-time

In today's Terminal Tuts, we are going to present yet another powerful system process monitoring command 'htop', which is a command-line utility that enables users to interactively monitor important system processes in real-time.

What are Snaps and how to install it on various Linux distributions

Snaps are created similarly as any other app, except that a single package is compiled along with all the dependencies required for the app to function. It's a self-contained package similar to AppImage, with the latter being only a portable app.

How to install a Program from Source on Linux

The source code is a collection of code written using a readable programming language, which is typically a plain text. It is then transformed by a compiler into binary code for making ready to install packages like .deb, rpm, etc.. Most of the popular packages are readily packaged into the easily executable deb and rpm packages, but there are also thousands of other packages that aren't compiled.

Creating, Deleting, and Managing Directories on Linux

In today's Learn Linux article, we will teach you how to create, delete, and manage the directories using command lines from the Linux Terminal. It applies to all Linux distributions. There is always the GUI way in Linux too, using right-click contextual menu from the desktop environment which is straight-forward. This guide is for doing things the command line way.

How to Check System Logs on Linux [Complete Usage Guide]

In today's Learn Linux guide, we will present you a comprehensive guide on what are system logs, where to find them, and how to use them to effectively manage a Linux system. Note that all the Linux distros including the popular ones namely Debian, Ubuntu, Arch Linux, Fedora, and CentOS have log files and it is common to Linux.

How to find files using command-line in the Linux Terminal

More often than not, files do get misplaced on your computer. For finding them, you will need to use some sort of tool and a bunch of rules. In today's Terminal Tuts series, we're going to explain how to find files on your Linux systems, by knowing any sort of information about the file and by using the terminal.