sort command in Linux | short lines of text files

Опубликовано: 04 Октябрь 2024
на канале: Learn Let's Earn
2,567
like

In this short tutorial, you will learn how to sort the file content in ascending and descending order by using sort command in Linux. 👩🏻‍💻

Below, you can see how to sort file contents.

-------------------------------
⬆ Ascending Order
-------------------------------
sort filename

--------------------------------
⬇ Descending Order (Display content in reverse order)
--------------------------------
sort -r filename

-----------------------------------------------------------------------------------------------
Just follow the step performed in this #short tutorial. 👨🏻‍💻🚀

#linux #sortcommand #learnletsearn #shorts
-----------------------------------------------------------------------------------------------

Official Website:
🔗 http://learnletsearn.in/

Follow us on Facebook:
🔗   / learnletsearn  

Follow us on Instagram:
🔗   / learnletsearn