- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1437 Articles for Linux
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
2K+ Views
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
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
11K+ Views
The cd command is one of most fundamental commands in Bash shell. It is used to change current working directory to a specified location. This command is particularly useful when navigating through file system, especially in situations where you need to access files or directories in a different location. In this article, we will explore how to use cd command in Bash scripts. What is cd Command? Before diving into usage of cd command, it is important to understand what it does. cd command is a built-in command in Bash that is used to change current working directory. When you ... Read More
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
486 Views
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
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
451 Views
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
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
448 Views
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
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
1K+ Views
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
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
25K+ Views
Introduction Linux is a popular open-source operating system used by millions of users worldwide. One of most common tasks in Linux is to count number of files in a directory. Counting number of files is an essential operation when dealing with large data sets and is also useful when cleaning up system or performing other maintenance tasks. In this article, we will discuss various methods to count number of files in Linux, along with examples. Method 1: Using ls command with option -l The 'ls' command is one of most commonly used commands in Linux to list files in a ... Read More
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
431 Views
Introduction ifconfig command is an important tool used in Linux operating system for network administration. It is a command line utility that is used to configure network interfaces and display network interface parameters. In this article, we will discuss ifconfig command in detail, including its syntax, options, and usage. Syntax of ifconfig Command The syntax of ifconfig command is as follows − ifconfig [interface] [options] In above syntax, "interface" parameter specifies network interface for which you want to configure or display information. If you do not specify any interface, command will display information for all available interfaces. The "options" ... Read More
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
10K+ Views
Introduction When working with files in Linux, it is common to come across files that contain blank lines. These blank lines can make it difficult to read file, especially when dealing with large files. In this article, we will discuss different methods to remove blank lines from a file in Linux. Why Remove Blank Lines from a File? There are several reasons why you may want to remove blank lines from a file. First, it makes file easier to read, especially when dealing with large files. Second, it can help reduce file size, which can be beneficial when transferring or ... Read More
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
8K+ Views
Introduction In Linux, chgrp command is a useful tool for changing group ownership of files and directories. It is an important command for system administrators who need to manage user permissions and access control on a Linux system. chgrp command is also useful for collaborative work where users need to share files and directories with specific groups. In this article, we will explore chgrp command and its usage in detail. What is chgrp Command in Linux? The chgrp command is used to change group ownership of files and directories in Linux. chgrp command changes group ownership of a file or ... Read More