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

Join Us at ICDE 2019 — Alibaba Cloud Workshop in Macau!

Defect Escape Rate: Why Is It Important?

Deploy Express API with Docker

Weekly Update from ARize Group.

Automate login to Gmail, Facebook, Instagram, LinkedIn and Tumblr using selenium with Python

Best Practices of Global CDN QoS Optimization

What Happens When Your Backup Needs Backup

Coding like a human

The Code Hero

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

Forking and making changes to repositories using Git, GitHub and Vim

Installing Docker Desktop on modern Windows

Turn Windows features on or off

GUI APPLICATION INSIDE DOCKER CONTAINER

Sync data from linux to max