Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • switchover for primary database Oracle
  • Reading parameter file and printing Linux/Unix
  • configUOCIOTTO.ora Oracle
  • plan10g.sql Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • perf_today.sql Oracle
  • scripts to take listener.log backup Linux/Unix
  • sql_plan9i.sql Oracle
  • sqlnet.ora paramters Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • to see when crontab is changed. Linux/Unix
  • dbinv.sql Oracle
  • set_env_dba Linux/Unix
  • ext#.sql Oracle
  • xargs use 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

  • adding new line after specific pattern using sed Linux/Unix
  • CPU Core related projections AWS
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • scp with ssh2 Linux/Unix
  • Jai Shree Ram 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
  • Building Our Own Namespaces with “Create Context” Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • purge_trc.sh Linux/Unix
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • To see how much time or progress of long transaction Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Paste command syntax Linux/Unix
  • newupload.html PHP/MYSQL/Wordpress

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme