Beginners Guide for Wall Command in Linux

If you are a sysadmin, then wall command can be your next favorite Linux tool, thinking why? With the help of this tool, you can broadcast messages to all logged-in users on your system, either locally or via SSH. This tool comes in handy, especially

What is SSH and How to Install it on Linux?

In this article, you will learn what the SSH protocol is, how it works, and a short history of this protocol. If you are only interested in the installation part, then click here. Tutorial Details Description OpenSSH Difficulty Level Moderate Root or Sudo Privileges Yes

How to Use Here Document (HereDoc) in Linux Shell Script

While writing shell script, you might get stuck in the situation where you want to redirect a block of lines from your script to interactive commands like sed, cat, ssh, or ftp. The purpose of this redirection might vary from situation to situation. For example,

Beginners Guide for Eval Command on Linux

The eval command is used to execute specified arguments as a single command in the current command-line processing and return its result. It will combine (or construct) the arguments into a single string and use it as input to the shell, which will execute the

Beginners Guide for Alias Command in Linux

In Linux, the alias command is used to create shortcuts for long commands that have the same functionality as if you were writing the whole command. This way, you can improve your productivity and save time by creating a few aliases for the long or

How to Shrink Long or Multiple Commands into a Single Short Command

Do you still type the long โ€œsudo apt update && sudo apt upgrade -yโ€ commands each time you want to update your Debian-based system? Or are you still navigating into directories (ex: โ€œ/var/www/htmlโ€œ) using the cd command each time you have to modify something there?