Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • Export Import with QUERY Oracle
  • Exadata Basics Oracle
  • Load SPM baseline from AWR Oracle
  • Rman Notes -1 Oracle
  • UTL_FILE test program Oracle
  • Oracle Data Direct to TAPE Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • temp_use.sql diplays usage of temp ts Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • sess_server.sql Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • get_aix_vmstat.ksh Oracle
  • good note for shared pool tunnig 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

  • oracle_env_10g_CADEV Linux/Unix
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • shutdown linux Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh 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
  • Giving Grant on v$DATABASE Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Search and replace pattern Linux/Unix
  • Directory wise folder wise space usage Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • temp_use.sql diplays usage of temp ts Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme