Tagged articles
cp
14 articles · Page 1 of 1
This guide shows how to patch coreutils so that the Linux cp and mv commands display a visual progress bar, covering version checks, source download, applying the advcpmv patch, compiling, configuring replacements, and testing the new functionality.
Linuxadvcpmvcoreutils
0 likes · 3 min read

Zookeeper, the open‑source coordination service modeled after Google’s Chubby, offers strong consistency for distributed applications, but its CP design, synchronous master‑slave replication, log‑heavy state changes, and limited health checks lead many large tech firms to favor more available alternatives, though it still fits certain use cases.
Consistencycpdistributed-systems
0 likes · 5 min read


JavaEdgeMar 8, 2023 · Backend Development
This article explains the importance of service discovery in high‑availability systems, compares DNS, VIP, Zookeeper‑based CP solutions and message‑bus‑based AP approaches, outlines their registration and subscription workflows, highlights scalability and consistency trade‑offs, and provides practical guidance for designing robust registration centers.
APMessage BusZooKeeper
0 likes · 14 min read

Learn how to enhance the Linux coreutils cp and mv commands with a visual progress bar by downloading the advcpmv patch, applying it to coreutils source, compiling, installing, and creating convenient aliases, complete with example usage and performance output.
Linuxadvcpmvcoreutils
0 likes · 4 min read

This guide shows how to compile the GNU coreutils package with the advcpmv patch to enable a progress‑bar for the cp and mv commands, including downloading source, applying the patch, building, installing the patched binaries, and creating convenient aliases for everyday use.
Linuxadvcpmvcoreutils
0 likes · 4 min read

This article explains the design, six mechanisms, and source‑code flow of Nacos’s Distro protocol, showing how asynchronous replication, periodic sync, new‑node loading, and local reads together provide AP‑style high availability and eventual consistency for service registration.
APConsistencyDistro
0 likes · 15 min read

This tutorial shows how to patch GNU coreutils using the open‑source advcpmv project so that the cp and mv commands display a progress bar, including step‑by‑step compilation, alias configuration, and sample output demonstrating total and per‑file progress.
Linuxadvcpmvbash
0 likes · 4 min read

This article explains why the Linux cp command appears to copy a 100 GB file in less than a second by exploring sparse files, the distinction between file size and allocated blocks, inode structure, multi‑level block indexing, and how these concepts enable fast copying of seemingly huge files.
FilesystemInodeLinux
0 likes · 11 min read

This article explains the design principles, six core mechanisms, asynchronous replication, periodic synchronization, new‑node sync, and local read strategy of Nacos's Distro consistency protocol, illustrating how AP/CP choices and the JRaft protocol ensure high availability in a distributed service registry.
APConsistencyDistro
0 likes · 13 min read

This article explains why a log file appears larger than its actual disk usage, introduces sparse files, and provides Linux commands to identify, copy, and compress them efficiently.
cpsparse filetar
0 likes · 5 min read

This article demystifies the three common Linux commands—ln, mv, and cp—explaining how they differ in handling inodes, dirents, and data blocks, when they create links or move files, and why their performance varies across file systems and file types.
Hard LinkInodeLinux
0 likes · 16 min read

This article explains why the Linux cp command can duplicate a seemingly 100 GB file in less than a second by revealing how sparse files work, the role of inodes and block allocation, the different cp --sparse modes, and the underlying filesystem mechanisms such as fiemap, extent copying, and hole punching.
EXT4InodeLinux
0 likes · 40 min read


ITPUBApr 21, 2020 · Operations
This guide shows Linux administrators how to copy files while excluding specific files or directories using three common utilities—cp, scp, and rsync—by demonstrating practical command‑line examples and the necessary syntax for selective transfers.
Linuxcpexclude
0 likes · 6 min read

This article compares Zookeeper and etcd, detailing their origins, architecture, APIs, strengths, and weaknesses, to help you decide which distributed coordination system best matches your project's requirements and programming language preferences.
RaftZABZooKeeper
0 likes · 8 min read
