Sort text files in place with Linux

Example:

John
Angela
Pedro
Victor
Omar
sort -o namelist.txt namelist.txt
Angela
John
Omar
Pedro
Victor

Use cases:

Photo by Yan Ots on Unsplash

--

--

--

Jr. Software Developer and Computer Engineering graduate. Writes technology notes and poetry. victoroalvarez.com/tree

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Make your React web app more accessible today!

Switch Statements in Unity

Programming as a sport

How to Connect Airpods 3 to Nintendo Switch

Nintendo Switch Pairing Airpods

Advanced Logging

Implementing Fluent Validation in ASP .NET

The Importance of Built-In Cloud Monitoring

1. SDLC (Adaptive vs Predictive)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Víctor O. Álvarez Torres

Víctor O. Álvarez Torres

Jr. Software Developer and Computer Engineering graduate. Writes technology notes and poetry. victoroalvarez.com/tree

More from Medium

Local caching mirror for Ubuntu APT

Docker for Ubuntu

Stream Editor — Part II

Tips and Tricks for using Crontab on Linux