aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-Hsun Chen <ss109062134@gapp.nthu.edu.tw>2023-12-13 08:42:22 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2024-10-21 03:55:45 +0000
commit6f8784e27e21378372f532f65cbdfc346ef322fe (patch)
tree8f1cb874c27cf09da5af190ab98f01da15a3b050
parent6dd7668e77c80d6328a1d4a49cb4dd535c2cbb0e (diff)
fstat(1): Fix typo
This is from the Advanced UNIX Programming Course (Fall’23) at NTHU. MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/929 (cherry picked from commit 0ba51e3b638424597add4212958524c9b750dd7b)
-rw-r--r--usr.bin/fstat/fstat.12
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1
index 62307c7d51bf..313454c2a9ef 100644
--- a/usr.bin/fstat/fstat.1
+++ b/usr.bin/fstat/fstat.1
@@ -312,7 +312,7 @@ $ fstat . | awk 'NR > 1 {printf "%d%s(%s) ", $3, $4, $1;}'
2133wd(alice) 2132wd(alice) 1991wd(alice)
.Ed
.Pp
-Create a list of processes sorted by number of opened files in desdencing order:
+Create a list of processes sorted by number of opened files in descending order:
.Bd -literal -offset indent
$ fstat | awk 'NR > 1 {print $2;}' | sort | uniq -c | sort -r
728 firefox