Found 1436 Articles for Linux

Configure sendmail with Gmail on Ubuntu

Satish Kumar
Updated on 24-May-2024 16:36:27

6K+ Views

Sendmail is a popular mail transfer agent used to send emails from one computer to another. It may installed by default on Ubuntu, which makes it a convenient option to sending emails from server. If you use Gmail, you can configure sendmail to send emails through Gmail account. In this article, we will show you the process of configuring sendmail with Gmail on Ubuntu. Requirements Before starting, there are few requirements that need to configure sendmail with Gmail on Ubuntu − A Gmail account A Ubuntu server Sendmail installed on your Ubuntu server OpenSSL installed on your Ubuntu server ... Read More

Configure Postfix with Gmail on Ubuntu

Satish Kumar
Updated on 26-Feb-2024 11:39:09

3K+ Views

Introduction Postfix is used mail transfer agent that is used to send and receive emails. It is easy to install and configure on Ubuntu server. In this tutorial, we will show you how to configure Postfix with Gmail on Ubuntu. Prerequisites Before you proceed, you will need the following − A running Ubuntu server A Gmail account A valid domain name that is configured to point to the server's IP address Step 1: Install Postfix In the first step install Postfix on your Ubuntu system. You can do this by running following command − sudo apt-get install postfix ... Read More

Difference between CSH and BASH

Md. Sajid
Updated on 02-Mar-2023 15:20:28

4K+ Views

Linux is a popular operating system among computer enthusiasts. It is a free and open operating system. Shells are the screens that we utilize to control an operating system. Shells are CSH and BASH. Shells act as a channel for communication between programmers and the device. We issue orders and obtain results. The C-shell was named after the C programming syntax. One of its many benefits is the ability to regulate jobs. It may be accessed via script shell command runner and interactive shell login. It might not be easy to use at times. Bash is a shell software similar ... Read More

How to setup firewall in Linux?

sudhir sharma
Updated on 27-Feb-2023 12:50:42

1K+ Views

Firewalls are an integral component of every contemporary computer system, safeguarding the network and protecting the system from illegal access. We'll take a deep dive into the realm of Linux firewalls and learn how to configure one in this post. Before we involve into the technical details of establishing a firewall in Linux, let us clarify what a firewall is and why it is so important! A firewall is a network security device that monitors and restricts network traffic based on predefined security rules. A firewall's principal function is to block unauthorised access to a computer system or network while ... Read More

Linux sort Command

Pradeep Jhuriya
Updated on 13-Feb-2023 17:31:59

499 Views

Introduction The sort command in Linux is a powerful and versatile tool that is used to sort lines of text files in a variety of ways. It can be used to sort files alphabetically, numerically, or in reverse order. It also has the ability to sort based on specific fields within a file, making it a valuable tool for data analysis and manipulation. In this article, we will explore the different options and usage of the sort command. Basic use of sort command The basic syntax for the sort command is pretty simply as follows − $ sort [options] [file...] ... Read More

The echo Command in Linux

Pradeep Jhuriya
Updated on 13-Feb-2023 17:30:56

975 Views

Introduction 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. In this post, we'll take a closer look at the use and advanced features of the echo command. Basic use of echo command The echo command is used to print text to the terminal. It can be used with both single and double quotes, with double quotes allowing the use of variables and special ... Read More

Guide to the Linux wc Command

Pradeep Jhuriya
Updated on 13-Feb-2023 17:30:22

406 Views

Introduction The wc command, which is short for "word count", is a simple yet powerful tool that allows you to quickly and easily count the number of lines, words, and characters in a file. But the wc command is capable of much more than counting words. In this guide, we'll explore all the features and options available when using the wc command, so you can take full advantage of its capabilities. So, grab a cup of coffee and dive into the world of the Linux wc command. Basic use of the wc command The basic syntax of the wc command ... Read More

Linux watch Command

Pradeep Jhuriya
Updated on 13-Feb-2023 17:29:37

950 Views

Introduction 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 of watch command The basic syntax of the watch command is − $ watch [options] command The watch command has several options that can be used to customize its behavior. These include − -d, ... Read More

Soft-Delete Files from the Terminal on Linux

Pradeep Jhuriya
Updated on 13-Feb-2023 17:29:02

390 Views

Introduction 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-put" command. We will also discuss ... Read More

Kill Commands In Linux

Pradeep Jhuriya
Updated on 13-Feb-2023 17:28:19

22K+ Views

Introduction On Linux, the "kill" command is used to send a signal to a process, which can be used to kill the process. The signal can be specified as a signal number or as a signal name, and the default signal is the TERM signal, which terminates the process. In this article, we'll explore the different options and usage of the "kill" command, including how to use it to kill specific processes and how to use it in combination with other commands. Basic syntax and usage of the Kill command The basic syntax of the "kill" command is as follows ... Read More

Advertisements