sort
Verified for current stable LTS
Sort Commands
Sort command syntax with verified terminal examples.
Commands
8 commands for Sort
sort Operations
Sort Command: Sort File Ascending
sort <path/to/file> sort Operations
Sort Command: Sort File Case Insensitive
sort -f <path/to/file> sort Operations
Sort Command: Sort File Descending
sort -r <path/to/file> sort Operations
Sort Command: Sort File Numeric Order
sort -n <path/to/file> sort Operations
Sort Command: Sort File Output To File
sort -o <path/to/output_file> <path/to/input_file> sort Operations
Sort Command: Sort File Unique Lines
sort -u <path/to/file> sort Operations
Sort Command: Sort Passwd File Field 3 Numeric
sort -t : -k 3n /etc/passwd sort Operations
Sort Command: Sort Passwd File Fields 3 4 Numeric Exponents
sort -t : -k 3,3n -k 4,4g /etc/passwd Suggest a Sort Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Sort workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.