Tagged articles
sort
14 articles · Page 1 of 1
This article teaches a practical command-line toolkit (grep, awk, sort) for rapidly analyzing massive log files up to 10GB, covering log-level statistics, top error extraction, IP frequency analysis, time-range filtering, compressed log searching, and reusable scripts, demonstrated with a real 6GB export timeout case resolved in five minutes.
Operationsawkcompressed logs
0 likes · 12 min read

This tutorial demonstrates how to sort lists with sort() and sorted(), reverse them, retrieve length, maximum, minimum, and element indices, and includes concrete code examples and their output for each operation.
IndexListPython
0 likes · 4 min read

This tutorial explains the core components of the C++ Standard Template Library—vector, map, and sort—showing their basic usage, generic capabilities, and how they can be combined in practical code examples such as product sorting and a word‑frequency counter.
C++STLVector
0 likes · 12 min read

This guide explains the Linux sort command, detailing its most useful options, how to sort by numbers, fields, human‑readable sizes, remove duplicates, and write results to files, with clear command‑line examples for each scenario.
command-lineshellsort
0 likes · 7 min read

This guide explains the Linux sort command, covering its most useful options—such as numeric, human‑readable, case‑insensitive, field‑based, and reverse sorting—and demonstrates practical examples for default sorting, column sorting, deduplication, and writing results to files.
Linuxcommand-linesort
0 likes · 7 min read

This guide provides a comprehensive overview of essential Linux text‑processing commands—including grep, cut, sort, uniq, tee, diff, paste, and tr—detailing their key options, usage examples, and practical tips for efficiently searching, extracting, sorting, comparing, merging, and transforming file contents.
Linuxcutdiff
0 likes · 24 min read

This article explains how to use PHP's built-in sort() function to sort arrays in ascending order, covering syntax, parameters, return values, and practical examples for both string and numeric arrays, including code snippets and output demonstrations.
AlgorithmPHParray
0 likes · 3 min read

This article explains how PHP's sort() function works for array sorting, demonstrates basic usage, descending order with rsort(), various sorting flags, and related functions like asort() and arsort(), providing code examples and important considerations for developers.
array-sortingphp-functionssort
0 likes · 5 min read

This guide introduces ten commonly used Linux command‑line tools—cat, less, head, tail, wc, grep, find, locate, sort, and uniq—explaining their purpose, basic syntax, and practical examples for efficiently inspecting and processing text files.
CATcommand-linefind
0 likes · 6 min read

This guide introduces the most useful Linux text‑viewing commands—including cat, tac, more, less, head, tail, sort, sed, uniq, and vi—explaining their basic syntax, common options, and practical examples for efficient file inspection and manipulation.
CATLinuxcommand-line
0 likes · 9 min read

This guide explains Python's list sorting methods, showing how the in‑place sort() works, how to obtain sorted copies with slicing or the sorted() function, and how to use custom comparison functions and optional key and reverse parameters for flexible ordering.
Listcustom comparatorsort
0 likes · 4 min read

This article analyzes MongoDB sort operation memory limits, explains why queries may exceed the 32 MB in‑memory sort threshold, demonstrates how to inspect and adjust server parameters, create appropriate compound indexes, and use allowDiskUse in aggregation pipelines to avoid sort‑related errors.
MemoryLimitMongoDBaggregation
0 likes · 14 min read

This guide introduces essential Linux commands for viewing and manipulating text files—including cat, tac, more, less, head, tail, sort, sed, uniq, and vi—explaining their basic usage, common options, and practical examples for effective command‑line text handling.
CATLinuxcommand-line
0 likes · 8 min read

This tutorial explains the Linux sort utility, its behavior, and walks through fourteen practical examples—from creating files and basic sorting to reverse ordering, column‑based sorting, merging, and deduplication—helping readers confidently manipulate text data on the command line.
bashcommand-linesort
0 likes · 6 min read
