The Baeldung logo
  • The Baeldung LogoLinux SublogoLinux Sublogo
  • Start Here
  • Courses ▼▲
    • Learn Java Collections

      Explore the Java Collections Framework and Algorithms

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Maven

      Simplify your build with Apache Maven

    • View All Courses

  • Guides ▼▲
    • Administration

      A collection of guides on Linux system administration

    • Scripting

      Basic and advanced scripting on Linux.

    • Networking

      The building blocks for machine-to-machine communication

    • Files

      Deep dive into working with Files on Linux.

    • Processes

      Learn about managing Linux processes and threads

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

  • Category upFiles
  • Category upText Processing
  • Category upFile Searching
  • Category upSearch

Tag: sort

Articles on sorting data in Linux using the sort command and related techniques. Covers sorting by single or multiple fields, CSV columns, file creation dates, line counts, and combining sort with other tools like find and grep in text-processing pipelines.

>> Different Ways to Efficiently Sort Large Files

>> How to Sort the Files in a Directory Recursively Based on the Last Modified Date

>> The Default Sorting Order of the find Command

>> How to Find the “n” Most Frequent Words in a File

>> Finding Unique Text Between Two Files

>> Find Statistics on File Types Recursively in a Directory

>> Get Unique Values from an Array in Bash

>> Sorting a File in-Place in the Linux Terminal

>> List the Size of Each File and Directory, and Sort by Size in Linux

>> Calculate an MD5 Checksum of a Directory in Linux

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • Next →
The Baeldung logo

Categories

  • Scripting
  • Installation
  • Search
  • Web
  • File Editing
  • File Searching
  • File Conversion
  • Docker

Series

  • Linux Administration
  • Linux Scripting Series
  • Linux Files
  • Linux Processes
  • Linux Networking Tutorials
  • Linux Filesystem Guide
  • Linux Security

About

  • About Baeldung
  • Baeldung All Access
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo