Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • arch_configUOCIOTTO.ora Oracle
  • Find nth max and min. Oracle
  • Generating XML from SQLPLUS Oracle
  • scp with ssh2 Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • handling filenname with space Linux/Unix
  • AWR settings- MMON is not taking snapshot. Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • Wait.sql Oracle
  • myfile Oracle
  • v$event_name Oracle
  • Updated LCK.SQL file. 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

  • crontab syntax Linux/Unix
  • CPU speed on Linux Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • oracle 10g on linux Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” 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
  • Rename Oracle Instance Name Oracle
  • sql_doing_fts.sql Oracle
  • tab.sql Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • Jai Shree Ram Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • rm_backup_arch_file.ksh Linux/Unix
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme