How to Copy Files and Directories on Linux

In UNIX/Linux systems, the cp command is the most commonly used command that allows you to copy files and directories from one location to another. If you don’t know how to use this command, this article will show you how to use it in a

How to Run a Linux Command Without Keeping It in History

Each command executed in your Linux terminal is being recorded by your shell (referring to Bash) in a separate file (like “~/.bash_history“) that you can view using the history command. For most Linux distributions, the number of commands that should be recorded and the number

Display and Filter History Records Based on Date and Time in Linux

Executing the history command without specifying any options will give you a clean record of previously executed commands with their event numbers. Output: As you can see, it does not display the date and time, so without them, you can’t even manage to filter the records. In

Beginners Guide for History Command in Linux

Each command executed in your Linux terminal is taken as an event and associated with an event number (or index number) later found in the “~/.bash_history” file. Now, you can use a program like a “cat” to read the record of this file, but Linux

ExplainShell: The Best Alternative for Linux MAN PAGES

Look at the following command and tell me what each part of it does: You might be full of confidence if you are a pro Linux user, but things are not that easy for beginners, and even for advanced users, there will be some commands

How to Find the Most Used Commands in Your Linux System

As a Linux administrator or a normal user, you often have to execute multiple commands in your terminal emulator like Gnome Terminal or Konsole for different purposes. But have you ever wondered which command you are executing repeatedly without being aware of it? So, don’t

Beginners Guide for Watch Command in Linux

In UNIX/Linux, “watch” is a resourceful utility for monitoring updates in the specified command output (including errors) by refreshing the results every 2 seconds until it is interrupted using the “Ctrl+c” shortcut key. It makes it easier for you to monitor the updates in background

A Tale of “More” and “Less” Commands in Linux

Linux users often use “more” and “less” commands interchangeably to read large files without understanding their differences, as their definitions are also identical in the manual. So, what’s their difference, and when should you use them? All of this doubt will be cleared in this

What is TTY and PTY on Linux?

If you’ve been using Linux for a while, you’ve probably heard the terms TTY and PTY. This article will explain what they are, how they affect Linux users, and their sweet little history. So, let’s start with their sweet little history to make things easier