Open Source Articles

Page 61 of 123

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 1K+ 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 778 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

Configure Postfix to Use Gmail SMTP on Ubuntu

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

Postfix is an open-source mail transfer agent (MTA) that allows users to send and receive email on Linux systems. It is an efficient and easy-to-use solution that can be configured to work with various email providers, including Gmail. In this article, we will show you the steps to configure Postfix using Gmail SMTP on Ubuntu. This process involves setting up your Gmail account to allow apps to access it, installing and configuring Postfix, and testing the setup to ensure it works correctly. Why Use Gmail SMTP with Postfix? Using Gmail SMTP with Postfix offers several benefits: ...

Read More

Concatenating Files in Linux

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

Linux is an operating system that has become popular for its open-source nature, flexibility, and reliability. Among its many features, Linux provides powerful tools for managing files and data, including the ability to concatenate files. Concatenation is the process of joining two or more files together, creating a single file that contains the contents of all original files. In this article, we will explore different methods of concatenating files in Linux with practical examples and use cases. Concatenating Files Using cat Command The cat command is the most common tool for concatenating text files in Linux. It ...

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