Found 1090 Articles for Operating System

Installing AWS CLI on Linux

Satish Kumar
Updated on 24-Mar-2023 16:11:30
Introduction Amazon Web Services (AWS) is one of most popular cloud computing platforms in world. It provides a wide range of services, such as storage, computing, networking, and databases, to name a few. AWS Command Line Interface (CLI) is a powerful tool that allows you to manage your AWS resources using commands in terminal or shell. In this article, we will discuss how to install AWS CLI on Linux, including various sub-headings and examples. Step 1: Check Python Installation Before installing AWS CLI, you need to ensure that Python is installed on your Linux system. Python is a programming ... Read More

Linux Files Series

Satish Kumar
Updated on 24-Mar-2023 16:10:28
Introduction Linux is a popular operating system that is widely used by developers, system administrators, and users who seek more control over their computer systems. One of key features of Linux is its file system, which is different from those found in other operating systems like Windows or MacOS. In this article, we will explore Linux file system in detail, including its structure, file types, and permissions. Linux File System Structure The Linux file system is structured in a hierarchical manner, with all files and directories organized under a single root directory. root directory is denoted by a forward slash ... Read More

The uniq Command in Linux

Satish Kumar
Updated on 24-Mar-2023 16:07:55
Introduction The Unix operating system is known for its powerful command-line interface and an extensive collection of tools. Among these tools, "uniq" command is a popular utility that is used to filter out duplicate lines in text files. This command is often used in conjunction with other command-line tools and shell scripts to manipulate data and automate tasks. In this article, we will explore "uniq" command in detail, including its syntax, options, and examples of its usage. Syntax The syntax of "uniq" command is simple and easy to understand. basic syntax of command is as follows − uniq [options] [input_file] ... Read More

Process Multiple Input Files Using Awk

Satish Kumar
Updated on 24-Mar-2023 16:06:03
Introduction Awk is a powerful text processing tool that is widely used by developers, system administrators, and analysts to manipulate data in a variety of ways. It is a versatile tool that can process text files, extract data, and transform it into a variety of formats. One of key features of Awk is its ability to process multiple input files at same time, making it ideal for batch processing tasks. In this article, we will explore how to use Awk to process multiple input files and examine several examples of how it can be used in practice. Using Awk with ... Read More

How to Join Multiple Lines Into One on Linux

Satish Kumar
Updated on 24-Mar-2023 16:04:14
Introduction When working with Linux or any command-line interface, you may come across situations where you need to combine multiple lines of text into a single line. This can be helpful for formatting or readability purposes, and it can also be necessary for certain scripting tasks. In this article, we will discuss several methods for joining multiple lines into one on Linux, including use of command-line tools like sed, awk, and paste. We will provide examples of each method to demonstrate how they can be used in different situations. Method 1: Using "tr" Command One of simplest ways to join ... Read More

Print Linux Directory Structure as a Tree

Satish Kumar
Updated on 24-Mar-2023 16:02:36
Introduction Linux is an open-source operating system that has gained a lot of popularity among developers and system administrators. It offers various powerful tools and commands to manage files, directories, and other resources on system. One such command that comes in handy is tree command, which helps in displaying directory structure of system in a tree-like format. In this article, we will explore tree command and its usage in detail. What is tree command? The tree command is a command-line tool that displays directory structure of a file system in a tree-like format. It shows nested structure of directories, sub-directories, ... Read More

Guide to vi Editor on Linux

Satish Kumar
Updated on 24-Mar-2023 15:58:36
Introduction The vi editor is one of most popular text editors on Linux. It is a command-line-based editor that comes pre-installed on most Linux distributions. Although it may seem daunting to new users, it is a powerful and efficient tool for editing text files. In this guide, we will cover basics of using vi editor on Linux. Opening vi Editor To open vi editor, open a terminal window and type "vi" followed by name of file you want to edit. For example, to edit a file called "example.txt", type − vi example.txt If file does not exist, vi will ... Read More

Preventing Bash Fork Bombs in Linux

Satish Kumar
Updated on 24-Mar-2023 15:57:59
Introduction Bash Fork Bomb is a type of denial of service (DoS) attack that can crash or freeze a Linux system by overwhelming its resources. attack uses a malicious script that creates a large number of child processes, causing system to run out of available resources, such as memory or CPU time. These child processes then spawn more child processes, and cycle continues until system is unable to respond. Preventing Bash Fork Bombs in Linux is essential for system administrators to ensure stability and availability of their systems. In this article, we will explore what a Bash Fork Bomb is, ... Read More

Decompressing Files in Linux with Gunzip

Satish Kumar
Updated on 24-Mar-2023 15:45:39
In the world of Linux, file compression is a common practice to reduce file sizes and save disk space. There are many compression algorithms available, and each has its own strengths and weaknesses. One of the most popular compression algorithms in Linux is gzip. In this article, we will explore how to decompress files in Linux with gunzip. What is gzip? gzip is a file compression utility used to compress and decompress files. gzip is a lossless compression algorithm, which means that the original data can be reconstructed perfectly after decompression. gzip is widely used on Linux systems, and it ... Read More

Linux man Command

Satish Kumar
Updated on 24-Mar-2023 15:45:13
Introduction In world of Linux, man command is an essential tool for anyone who is serious about using command line interface. It stands for "manual", and it is a built-in help system that provides users with detailed information on how to use various Linux commands. In this article, we will dive deep into Linux man command, exploring its functionality and usefulness, as well as providing examples of how to use it. Overview of Linux man Command The Linux man command is a built-in help system that provides users with detailed information about commands, utilities, and functions on Linux operating system. ... Read More
1 2 3 4 5 ... 109 Next
Advertisements