Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sql_plan9i.sql Oracle
  • Explain Plan Output 2 Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • All Hints for Oracle Databases Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • SAN Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • SQL_PROFILE – I explaination Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Composite Index creation tip from Vivek Oracle
  • move_arch_files.ksh Linux/Unix
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • catall.sh 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

  • catting.sh Linux/Unix
  • scp with ssh2 Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • good linux notes Linux/Unix
  • scripts to take listener.log backup 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

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

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • All About Trace Fils Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • find_idle_cpu.sql Oracle
  • telnet listening Linux/Unix
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • metalink all dynamic view reference notes. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme