Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Distributed Transaction Troubleshooting. Oracle
  • Facts about SCN and Rollback Segment Oracle
  • v$backup.status information Oracle
  • switchlogfile.sh Linux/Unix
  • DBA_HIST_SQLSTAT contents Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • initUOCIOTTO.ora Oracle
  • Handling LOB data in Oracle Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • Oracle Standby Database Library Index from Metalink Oracle
  • alter database backup controlfile to trace Oracle
  • Giving Grant on v$DATABASE Oracle
  • Insert cause enqueue locks Oracle
  • Find Plan Hash value fphv.sql Oracle

Sort with ASCII order and Numeric Order

Posted on 03-Jan-2007 By Admin No Comments on Sort with ASCII order and Numeric Order

By default sort command will sort by ASCII order.

To sort it on basis of NUMERIC sort, you need to specify “-n” switch.

du -sk * | sort -n

Linux/Unix, shell

Post navigation

Previous Post: Order by with ROWNUM
Next Post: Finding Oracle Patches with opatch

Related Posts

  • find checksum of a file. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Find long Running Transaction Linux/Unix
  • Generate SSH without password authentication. Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Absolute file number and relative file number Oracle
  • Rman Notes -1 Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • Explain Plan Output 2 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme