Linux Articles

Page 61 of 134

ARP Commands

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

ARP (Address Resolution Protocol) is a networking protocol that maps network addresses, such as IP addresses, to physical MAC addresses. It is a fundamental component of network communication, enabling devices to locate each other on the same network segment. The arp command provides various options for viewing and managing the ARP cache. How ARP Works When a device needs to communicate with another device on the same network, it broadcasts an ARP request asking "Who has this IP address?" The target device responds with its MAC address, and this mapping is stored in the ARP cache for future ...

Read More

Shutdown and Reboot Linux Systems From the Terminal

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 917 Views

In this article, we will discuss how to shut down and restart Linux systems from the terminal. The ability to shut down and restart a system from the command line can be useful in a variety of situations, such as when the GUI is unavailable or when automating tasks via Linux shell scripts. Overview Linux is a fairly robust operating system, and as such, rebooting Linux servers is rarely necessary. However, sometimes there are reasons why you need to restart your system. For example, if we are running Linux on our personal computer, restarting and shutting down the ...

Read More

Transfer Files Between Linux Machines Over SSH

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 2K+ Views

Transferring files between Linux machines over SSH is a common task for system administrators and developers. SSH (Secure Shell) is a protocol that allows you to securely transfer files between machines, as well as remotely access and manage them. SSH creates an encrypted tunnel between machines, protecting your data from eavesdropping and tampering. Setting Up SSH Before transferring files, SSH must be installed and running on both machines. You can check if SSH is installed by running − ssh -v If the command returns version information, SSH is installed. Otherwise, install it using your ...

Read More

Using Shebang #! in Linux Scripts

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 7K+ Views

On Linux, a shebang (#!) is a special line at the beginning of a script that tells the operating system which interpreter to use when executing the script. This line, also known as a hashbang, shabang or sharp-exclamation, starts with #! followed by the path to the interpreter. The shebang line allows you to run scripts written in any language directly from the command line. Understanding Shebang The shebang (#!) symbol indicates which interpreter, or which version of an interpreter, to use when running a script. The name is believed to have originated as a contraction of SHarp ...

Read More

Date Command in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 18K+ Views

The date command in Linux is a fundamental utility used to display and manipulate the system date and time. This command is essential for system administration, logging, scheduling, and troubleshooting tasks. It provides extensive formatting options and can work with different time zones, making it invaluable for both basic users and system administrators. Basic Usage To display the current date and time, simply run the date command without any options: date Tue Jan 25 14:20:34 EST 2022 The default output format shows: Day Month Date Time TimeZone Year Formatting Output ...

Read More

Guide to the Linux touch Command

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 991 Views

The Linux touch command is a versatile tool that allows you to create new files and update timestamps on existing files. In this guide, we will explain the basic use of the touch command and some of its advanced options. We will also provide examples of how to use the command and show the corresponding output. By the end of this guide, you'll have a solid understanding of how to use the touch command to manage files on your Linux system. Basic Usage The basic syntax of the touch command is as follows − touch [options] ...

Read More

Soft-Delete Files from the Terminal on Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 762 Views

When working with files in the terminal on Linux, there may be times when you want to delete a file but also keep a copy of it just in case. This is where the concept of "soft delete" comes into play. A soft delete allows you to move a file to a designated recycle bin or trash, instead of permanently deleting it. That way, if you accidentally delete a file, you can easily get it back. In this article, we will explore how to delete files from the terminal on Linux using the trash-cli utility and its trash-put command. ...

Read More

Linux watch Command

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 2K+ Views

The watch command in Linux is a powerful tool that allows you to execute a program periodically, showing output in fullscreen. This command runs the specified command repeatedly, displaying its output and errors. By default, the specified command runs every two seconds and watch runs until interrupted. In this article, we will explore the various options and uses of the watch command. Syntax The basic syntax of the watch command is − watch [options] command Common Options Option Description -d, --differences Highlights differences between successive updates ...

Read More

The echo Command in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 2K+ Views

The echo command is a fundamental command in Linux that is used to send text or variables to the terminal. It is one of the most basic and essential Linux commands, and mastering it is imperative for beginners to navigate the command line more easily. Basic Syntax The basic syntax of the echo command is straightforward: echo [options] [string] The echo command prints text to the terminal. It can be used with both single and double quotes, with double quotes allowing the use of variables and special characters. $ echo "Hello, Linux!" ...

Read More

How to setup firewall in Linux?

sudhir sharma
sudhir sharma
Updated on 17-Mar-2026 2K+ Views

Firewalls are an integral component of every contemporary computer system, safeguarding the network and protecting the system from unauthorized access. This guide explores Linux firewalls and demonstrates how to configure them effectively. A firewall is a network security device that monitors and restricts network traffic based on predefined security rules. Its primary function is to block unauthorized access to a computer system or network while allowing legitimate traffic. It functions as a gatekeeper, controlling what may enter and leave a network. There are two major options for configuring a firewall in Linux: iptables and firewalld. iptables ...

Read More
Showing 601–610 of 1,338 articles
« Prev 1 59 60 61 62 63 134 Next »
Advertisements