Operating System Articles

Page 103 of 171

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 777 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

Difference between CSH and BASH

Md. Sajid
Md. Sajid
Updated on 17-Mar-2026 7K+ Views

CSH and BASH are two prominent command-line shells in Unix and Linux systems. A shell acts as an interface between users and the operating system, allowing users to execute commands and run programs. Both shells provide interactive command-line environments and scripting capabilities, but they differ significantly in syntax, features, and usage patterns. What is CSH? CSH (C Shell) was developed by Bill Joy at the University of California, Berkeley, in the late 1970s. It was designed to provide a more user-friendly alternative to the original Bourne shell, with syntax inspired by the C programming language. Key Features ...

Read More

Difference between Egrep and Fgrep

Md. Sajid
Md. Sajid
Updated on 17-Mar-2026 7K+ Views

Egrep and Fgrep are two different command-line utilities used to search for text patterns in files. These commands are commonly used in Unix-like operating systems such as Linux and macOS. Egrep (Extended grep) is an enhanced version of the standard grep tool that supports extended regular expressions, enabling more complex pattern searches. Fgrep (Fixed grep) is designed to search for fixed strings rather than patterns, making it faster than grep and egrep but less flexible. This article explores the key differences between egrep and fgrep, including their capabilities, performance characteristics, and appropriate use cases. What ...

Read More

Difference between Mac and Windows

Md. Sajid
Md. Sajid
Updated on 17-Mar-2026 4K+ Views

Mac and Windows are two dominant operating systems that serve different user needs and preferences. Mac, developed by Apple, is renowned for its intuitive interface and elegant design, while Windows, created by Microsoft, is praised for its versatility and broad software compatibility. Understanding their key differences helps users make informed decisions based on their specific requirements. What is Mac? Mac OS (now called macOS) is Apple's proprietary operating system designed exclusively for Apple hardware, including MacBook, iMac, Mac Mini, and Mac Pro devices. Built on a Unix foundation, macOS is known for its streamlined user experience and robust ...

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
Showing 1021–1030 of 1,707 articles
« Prev 1 101 102 103 104 105 171 Next »
Advertisements