Unix: How does sort -n command know what it needs to sort by in a file that contains both numbers...

Subscribers:
4,150
Published on ● Video Link: https://www.youtube.com/watch?v=7z6VV6HkIFk



Duration: 3:31
2 views
0


How does sort -n command know what it needs to sort by in a file that contains both numbers and text?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/588983/barnyard9)barnyard9
(unix.stackexchange.com/users/22142/don-crissti)don_crissti
(unix.stackexchange.com/users/596938/constantine-a-b)Constantine A. B.
(unix.stackexchange.com/users/379287/paul-pedant)Paul_Pedant
A special thanks goes out to the (https://unix.stackexchange.com/questions/765864/how-does-sort-n-command-know-what-it-needs-to-sort-by-in-a-file-that-contains-b)Stackexchange community

I wish you all a wonderful day! Stay safe :)

command-line sort find




Other Videos By Peter Schneider


2024-01-16Gis: Insert label in layout with expression QGIS
2024-01-16Apple: USB C powered monitor drawing power while Mac is sleeping, how do I eject it / disable it?
2024-01-16Ansible - how to conditionally change an item in the list
2024-01-16Unix: Can a file be closed in vim without exiting?
2024-01-16fixed width record of actual data stream but with following awk field splitting ( FS, FIELDWIDTHS...
2024-01-16Salesforce: Can't see Journey Builder in SFMC
2024-01-16IIS and Windows Authentication - When does it use NTLM?
2024-01-16How to force a server to return my IP address in IPv4 and not IPv6?
2024-01-16Salesforce: PersonAccount Fields for AutoProc User
2024-01-16Unix: sudo persistent across ssh logins
2024-01-16Unix: How does sort -n command know what it needs to sort by in a file that contains both numbers...
2024-01-16Softwareengineering: Watchdog/recovery mechanism for realtime embedded system (using heartbeat, e...
2024-01-16Connecting to Oracle Autonomous Database with PHP and OCI8
2024-01-16Apple: DNS server priority in 14.1.2 Sonoma
2024-01-15Security: How to protect a local app that acts as a webserver from exploits?
2024-01-14Local DNS Server on WSL
2024-01-14Text file reading - Expectations of good enough?
2024-01-14How to get the average number of words in files using the output of "wc -w"
2024-01-14Ux: File download required before validation (mobile) closed
2024-01-14Salesforce: How to get the records in lightning record picker based on current logged in user?
2024-01-14Raspberrypi: Setting Metric on Bookworm



Tags:
command-line
sort
find