Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • tblwopk.sql tablewopk.sql Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • to see when crontab is changed. Linux/Unix
  • Optimizer SORT Operations Oracle
  • restarting network in linux Linux/Unix
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Committing distributed transaction using commit force Oracle
  • chk_space_SID.ksh Linux/Unix
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • db_status.sql Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • Backup and Recovery Scenarios Oracle
  • sesswait.sql Oracle
  • Rename Oracle Instance Name 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

  • CPU Core related projections AWS
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • crontab syntax Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Unix split command to split files Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • import-export with multiple files Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • note id 373303.1 Linux/Unix
  • find_longsql.sql Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme