Is there a way to use "sort -o" without a pipe?

CrazedNerd

Gold Member
Gold Supporter
Joined
Mar 31, 2021
Messages
593
Reaction score
234
Credits
5,017
The -o argument is useful because you can turn the program's output into a file for use later. The way i've found you can use this is like:

Code:
<some-input> | sort -o <new-file-name>

however, i wonder if there is a tried and tested way of using sort like this without the pipe?
 


$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online

Members online


Top