sort
SafeSort lines (cmd)
type <file> | sort
Sorts lines (/r reverses) — quick cmd-only log tidying; reach for Sort-Object when it gets fancy.
Examples
type ip.txt | sort /rReverse sort
Syntax
sort [/r] [/+n] [file]
Before you run it
Read only.
Related commands
- sortSort / unique
- Sort-ObjectSort objects
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store