Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • v$event_name Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Facts about SCN and Rollback Segment Oracle
  • Jai Shree Ram Linux/Unix
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Reading parameter file and printing Linux/Unix
  • cache buffer chain latch Oracle
  • find_cons.sql Oracle
  • Oracle Statspack survival Guide Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix

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

  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • Validating ORACLE_SID againt oratab file. 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Changing unix system clock when Oracle database is running. Oracle
  • Find all users who have DML privileges Oracle
  • Jai Shree Ram Oracle
  • Mutating Table Error while using database trigger Oracle
  • eplan9i.sql Oracle
  • sid_wise_sql.sql Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Difference between SYNC and AFFIRM Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme