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

CrazedNerd

Gold Member
Gold Supporter
Joined
Mar 31, 2021
Messages
514
Reaction score
211
Credits
4,413
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

Members online


Latest posts

Top