Found 2065 Articles for Operating System

How do you determine which individual pages are resident on Linux

Satish Kumar
Updated on 03-Mar-2023 14:47:54

216 Views

As a Linux user, it is essential to have a good understanding of how to determine which individual pages are resident on your system. This knowledge can help you optimize your system's performance and avoid memory issues. In this article, we will discuss different ways to identify resident pages on Linux, including using command-line tools and system monitoring utilities. Understanding Resident Pages Before we dive into ways of identifying resident pages on Linux, let's first understand what resident pages are. When a process in Linux accesses a file or program, kernel copies data into memory to speed up future access. ... Read More

Compiling native GCC for arm using cross-compiler

Satish Kumar
Updated on 03-Mar-2023 14:47:15

3K+ Views

Introduction Cross-compiling is process of compiling program for different system than one it is being compiled on. It is typically done to target embedded systems or compile for a different architecture than host system. process of cross-compiling for ARM is essential when targeting embedded systems that are commonly found in Internet of Things (IoT) devices. In this article, we will discuss how to compile native GCC for ARM using a cross-compiler. What is ARM? ARM is a type of processor architecture that is widely used in embedded systems. It is a type of Reduced Instruction Set Computer (RISC) architecture that ... Read More

Multiple simultaneous downloads using Wget

Satish Kumar
Updated on 03-Mar-2023 14:46:25

3K+ Views

When it comes to downloading files from internet, there are numerous ways to go about it. One such method is using command-line tool Wget, which is an extremely versatile and powerful utility for downloading files. Wget is a popular tool among developers, system administrators, and even casual users due to its simplicity and speed. In this article, we will take a closer look at Wget's ability to download multiple files simultaneously, and how this feature can improve your download speeds. What is Wget? Wget is a command-line utility used for retrieving files from web. It is a non-interactive tool that ... Read More

Linux Commands Comparison curl vs wget

Satish Kumar
Updated on 03-Mar-2023 14:45:21

14K+ Views

Introduction Linux is a versatile operating system that is popular among developers, system administrators, and enthusiasts. It offers a variety of tools to help users perform various tasks, and two of most commonly used command-line utilities are curl and wget. Both these commands are used to download files from internet, and while they have some similarities, they also have distinct differences. In this article, we'll compare and contrast curl and wget, including their features, syntax, and use cases. Overview of curl and wget Curl and wget are both command-line tools used to retrieve data from internet. They use different protocols ... Read More

Common Linux Text Search

Satish Kumar
Updated on 03-Mar-2023 14:43:54

185 Views

Introduction Linux is an open-source operating system that is widely used for servers, workstations, and mobile devices. It is well-known for its stability, reliability, and security. One of most useful features of Linux is its command-line interface (CLI), which allows users to perform various tasks quickly and efficiently. In this article, we will focus on one of most common tasks in Linux CLI – text search. Text search is an essential task for many Linux users, as it allows them to find specific pieces of text in files, directories, and even across entire system. Linux provides several tools for text ... Read More

Splitting Files in Unix Systems

Satish Kumar
Updated on 03-Mar-2023 14:43:15

308 Views

Introduction Unix systems have been popular for their efficiency and versatility in handling file operations. One of common operations is to split files into smaller chunks to make them more manageable. split command in Unix is used to achieve this task. This command allows user to split a large file into smaller files of specific sizes or based on specific delimiters. In this article, we will explore split command and its usage in Unix systems. Split Command Syntax − The basic syntax of split command is as follows − split [OPTION]... [INPUT [PREFIX]] The [OPTION] and [PREFIX] are optional ... Read More

How to Find Broken Symlinks in Linux

Satish Kumar
Updated on 03-Mar-2023 14:41:52

4K+ Views

Introduction Symbolic links, also known as symlinks, are a fundamental part of Linux file system, and they allow users to create shortcuts to files or directories. A symbolic link is a file that points to another file or directory, and it allows users to access a file or directory without having to use its full path. However, sometimes a symbolic link can become broken or outdated, which can cause issues for system or user. In this article, we will explain how to find and identify broken symlinks in Linux, and provide some examples of how to fix them. What is ... Read More

Guide to Stream Redirections in Linux

Satish Kumar
Updated on 03-Mar-2023 14:40:28

414 Views

As a Linux user, it's essential to understand concept of stream redirections. Stream redirections allow us to manipulate and control input and output streams of Linux commands. It means that we can control where standard input, output, and error streams are going to and coming from. In this article, we'll guide you through basics of stream redirections and show you how to use them with examples. Introduction to Stream Redirections In Linux, there are three types of streams − Standard Input (stdin) − This is input stream that allows us to send data into a command. Standard Output (stdout) ... Read More

Concatenating Files in Linux

Satish Kumar
Updated on 03-Mar-2023 14:39:02

4K+ Views

Linux is an operating system, it become popular for its open-source nature, flexibility, and reliability. Including its many features, Linux also provides powerful tools for managing files and data, including ability to concatenate files. The concatenation is process of joining two or more files together, creating single file that contains contents of all original files. In this article, we will explore different methods of concatenating files in Linux, including examples and subheadings. Concatenating Files Using cat Command The cat command is a powerful tool for managing text files in Linux. It can be used to create new files, view ... Read More

Setting Permissions with chown and chmod

Satish Kumar
Updated on 03-Mar-2023 14:38:17

2K+ Views

When working with files and directories in Linux, it’s important to understand how to set permissions. Permissions define who can access and modify files and directories on a system. In this article, we will go through how to use chown and chmod commands to set permissions on files and directories. Understanding Linux File Permissions In Linux, each file and directory has three types of permissions: read, write, and execute. These permissions can be set for three different categories of users − owner of file or directory, group to which file or directory belongs, and all other users. The read permission ... Read More

Advertisements