Found 2065 Articles for Operating System

3 Ways to Set a Static IP Address in RHEL 8

Satish Kumar
Updated on 30-Mar-2023 17:08:23

11K+ Views

RHEL 8 (Red Hat Enterprise Linux 8) is a popular Linux-based operating system used by many organizations for their servers and workstations. In RHEL 8, IP (Internet Protocol) addresses can be set dynamically or statically. A dynamic IP address is assigned automatically by a DHCP (Dynamic Host Configuration Protocol) server, while a static IP address is manually configured by user. In this article, we will discuss three ways to set a static IP address in RHEL 8. Using Network Manager GUI The Network Manager GUI is a graphical user interface that makes it easy to manage network settings, including setting ... Read More

3 Ways to Permanently and Securely Delete Files and Directories in Linux

Satish Kumar
Updated on 30-Mar-2023 17:03:47

2K+ Views

Linux is an incredibly powerful and versatile operating system that is widely used in computing industry. One of most important aspects of using any computer system is ability to manage files and directories. In this article, we will be discussing three ways to permanently and securely delete files and directories in Linux. Why Secure File Deletion is Important When you delete a file or directory from your computer, it does not necessarily mean that data is gone forever. In most cases, data is still present on your hard drive or storage device, but it is marked as "free space" that ... Read More

3 Ways to Install Spotify [Music Streaming] in Fedora Linux

Satish Kumar
Updated on 30-Mar-2023 17:02:36

651 Views

If you're a music lover who uses Fedora Linux as their primary operating system, you might be wondering how to install Spotify. Luckily, it's relatively easy to get Spotify up and running on Fedora Linux. In this article, we'll explore three different ways to install Spotify on Fedora Linux. Install Spotify Using Flatpak One of easiest ways to install Spotify on Fedora Linux is to use Flatpak. Flatpak is a packaging system that allows developers to distribute applications across different Linux distributions. Here's how to install Spotify using Flatpak − Open terminal on your Fedora Linux system. Type following command ... Read More

Working with the AWS S3 CLI in Linux

Bamdeb Ghosh
Updated on 29-Mar-2023 11:53:31

693 Views

Introduction AWS S3 (Simple Storage Service) is a reliable and scalable object storage service that is commonly used for storing and retrieving data across various industries. AWS S3 CLI (Command Line Interface) is a powerful tool that provides developers and system administrators with a command-line interface to interact with S3. In this article, we will explore the various AWS S3 CLI commands that can be used to perform operations such as creating and deleting S3 buckets, downloading files, and copying files from an S3 bucket. By leveraging these commands, users can streamline their workflow and manage their S3 resources more ... Read More

Viewing Files in Linux Using cat, more, and less

Bamdeb Ghosh
Updated on 29-Mar-2023 11:51:41

739 Views

Introduction Sometime in Linux, we do not want to open a file using vi or vim to see the content of file. Instead, we can use other Linux commands like ‘cat’, ‘more’ and ‘less’. Depending on the user requirement, either cat or more or less command can be used. Though there are many options or arguments for each command, but in this article we will try to explore the most commonly used options for each commands with some examples. We will start with most widely used command ‘cat’ and then move on to ‘more’ and ‘less’ command. ‘cat’ command Approach ... Read More

Pipes and Redirection in Linux

Bamdeb Ghosh
Updated on 29-Mar-2023 11:40:55

2K+ Views

Introduction Pipes and redirection are two different kinds of mechanisms used in Linux. Sometimes, we need the output of a command to be passed as input of another command and do some operation. There we use the pipe operator. The operator is “|”. It’s found on top of the “Enter” key. Sometimes, we redirect or pass all the output of a command to a file for storing purposes. Also, we take a file’s content as input for a command. This is called redirection and operators are used like “>”, “>>” and “” to do this operation. In the first example, ... Read More

Modify Files in Linux using vi, nano or emacs

Bamdeb Ghosh
Updated on 29-Mar-2023 11:38:17

356 Views

Introduction Linux users frequently utilize Vi, Nano, and Emacs as their preferred text editors. Vi is a standard editor that is revered for its advanced functionalities and efficiency. Conversely, Nano is a straightforward editor that boasts a user-friendly interface and is easily learned by novices. Emacs is a powerful and customizable editor with a complex user interface that is ideal for advanced users. In this article, we are going to learn how to modify files in Linux using “vi, nano, and emacs”. Our discussion will encompass the installation process of each editor, their respective functions, as well as examples demonstrating ... Read More

Introduction to File MIME Types on Linux

Bamdeb Ghosh
Updated on 29-Mar-2023 11:36:40

3K+ Views

Introduction MIME types are a crucial aspect of Linux file management, as they enable the operating system to identify the file format and determine the appropriate program for opening the file. Understanding MIME types can be beneficial, especially when dealing with various file formats on Linux systems. This article provides an overview of MIME types and explains how to determine the MIME type of a file on Linux. It also introduces the xdg-mime command, a powerful tool for managing MIME types on Linux, allowing users to change the default application associated with a particular file type or add new MIME ... Read More

Introduction to File Locking in Linux

Bamdeb Ghosh
Updated on 29-Mar-2023 13:58:03

2K+ Views

Introduction File locking is a mechanism used to restrict access to a file to only one process or user at a time. It is essential in multi-user systems to avoid conflicts when multiple processes try to access the same file simultaneously. In Linux, file locking is implemented through the use of locks. Lock prevents other processes from accessing a file until the lock is released. In this article, we will explore file locking in Linux and how to implement it using C code. We will discuss the different types of file locks, how to create and release locks, and how ... Read More

How to Use Command Line Arguments in a Bash Script

Bamdeb Ghosh
Updated on 29-Mar-2023 11:20:51

5K+ Views

Introduction In general, there are many ways to pass input to programming or scripting languages and sometimes there is a need to pass input from the command line instead of input from the code. Like any other programming or scripting language bash scripting also support the command-line argument. In this article, we will try to explore the syntax for command-line arguments and then we will see some examples for command-line arguments and discuss the special variables. Command-line Argument Syntax We already know how to run a bash script in Linux. We can use either bash or sh command and then ... Read More

Advertisements