Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • get_vmstat.ksh Linux/Unix
  • Oracle Material from OTN Oracle
  • checking redhat linux version Linux/Unix
  • set_env_dba Linux/Unix
  • TNSNAMES entries details Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • plan10g.sql Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Kill a session dynanically using execute immediate Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • Caching sequence in Memory Oracle
  • Pending Distributed Transations 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

  • scripts to take listener.log backup Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Changing default shell Linux/Unix
  • grep multuple patterns Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Jai Shree Ram 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
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Find_table_size.sql Oracle
  • Read CSV file using PySpark Python/PySpark
  • Ports used by Oracle Software Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Rownum with Order by Oracle
  • To see how much time or progress of long transaction Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme