Node.js Fundamentals: Buffers and File System Operations

Basic Concepts Node.js is a JavaScript runtime environment built on Chrome's V8 engine. It utilizes an event-driven, non-blocking I/O model that enables JavaScript to run on the server side. Official website: https://nodejs.org Code example: console.log("hello Node.js"); // 1. Navigate to the directory containing the js file // 2. Execute node ...

Posted on Mon, 15 Jun 2026 16:04:55 +0000 by maralynnj

Locating and Managing Files in Linux Using the Find Utility

Core Syntax and Parameters The find utility traverses directory trees to locate files and directories based on specified conditions. It allows complex filtering and can execute actions on the matched results. find [starting_path] [expression] [action] Expressions consist of options and tests, while actions determine what happens to the matches ...

Posted on Sun, 07 Jun 2026 17:53:10 +0000 by thoand

Managing File Deletion Inside Docker Containers

When working with Docker containers, there are scenarios where specific files or directories need to be removed from the container's filesystem. This guide covers the practical approaches to achieving this, either during runtime or at the image build stage. Approaches to File Removal You can remove files within a Docker environment using two pr ...

Posted on Sun, 10 May 2026 14:19:08 +0000 by phillfox

Understanding Linux Hard Links and Symbolic Links

Introduction to Linux Links In Linux file systems, links provide a mechanism to access files from multiple locations. There are two types of links: Hard Links and Soft Links (also known as Symbolic Links). By default, the ln command creates a hard link. To create a symbolic link, the -s flag must be specified. Hard Links A hard link is a direct ...

Posted on Sat, 09 May 2026 15:23:07 +0000 by bweekly

Working with Binary Data Using Node.js Buffer

The Buffer class is a native global in Node.js designed for direct manipulation of binary data. Unlike browser-based JavaScript, which rarely deals with raw binary streams, Node.js operates as a server-side runtime where handling file systems, network packets, and I/O streams is standard. Buffer instances represent fixed-length memory allocatio ...

Posted on Sat, 09 May 2026 02:27:20 +0000 by joelhop