From 894921a9e203e32f6fd1cd07071ed14ec55de325 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Tue, 10 May 2016 14:16:03 +0100 Subject: [PATCH] sort.md: sync linux & common versions --- pages/linux/sort.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/sort.md b/pages/linux/sort.md index 04ecd0db9..b7986795b 100644 --- a/pages/linux/sort.md +++ b/pages/linux/sort.md @@ -10,6 +10,10 @@ `sort -r {{filename}}` +- Sort a file using numeric rather than alphabetic order: + +`sort -n {{filename}}` + - Sort the passwd file by the 3rd field, numerically: `sort -t: -k 3n /etc/passwd`