1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-10 16:54:33 +02:00

Clarify that "sort" doesn't modify the file (#4121)

This commit is contained in:
Michael Chen
2022-01-03 12:00:05 -05:00
committed by GitHub
parent 335fa5ca53
commit 3b2974ba31

View File

@@ -434,7 +434,7 @@ tail -n 10 file.txt
# prints first 10 lines of file.txt
head -n 10 file.txt
# sort file.txt's lines
# print file.txt's lines in sorted order
sort file.txt
# report or omit repeated lines, with -d it reports them