Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Proc Compilation Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • catting.sh Linux/Unix
  • Find all users who have DML privileges Oracle
  • Explain Plan Output 2 Oracle
  • checking connectivity between two servers Linux/Unix
  • Jai Shree Ram Oracle
  • send attachment from unix-shell script Linux/Unix
  • How to check current redo log progress redo_progress.sql Oracle
  • switchlogfile.sh Linux/Unix
  • online_ts_bkup.sql Oracle
  • Goldengate document from Porus Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix

How to sort list of files on basis of their sizes.

Posted on 09-Nov-2006 By Admin No Comments on How to sort list of files on basis of their sizes.

tuningdb21->AWRTEST@(/db1/home/oracle)ls -rlt | sort +4

total 48

drwx—— 2 oracle dba 96 May 17 16:16 nsmail

drwxrwxr-x 3 oracle dba 96 Oct 3 2005 app

drwxr-xr-x 3 oracle dba 96 Oct 4 2005 patch

drwxr-xr-x 2 oracle dba 96 Oct 16 15:17 scripts

-rw-r–r– 1 oracle dba 124 Oct 3 2005 local.cshrc

-rw-r–r– 1 oracle dba 385 Oct 10 10:47 afiedt.buf

-rw-r–r– 1 oracle dba 582 Oct 3 2005 local.profile

-rw-r–r– 1 oracle dba 607 Oct 3 2005 local.login

drwxr-xr-x 3 oracle dba 1024 May 24 14:19 oraprocs

drwxr-xr-x 2 oracle dba 1024 Oct 19 2005 RMAN

drwxr-xr-x 5 oracle dba 7168 Nov 7 17:19 paresh

-rw-r–r– 1 oracle dba 10267 Oct 11 13:39 rr1

tuningdb21->AWRTEST@(/db1/home/oracle)

And for sorting in reverse order.

tuningdb21->AWRTEST@(/db1/home/oracle)ls -rlt | sort -r +4

-rw-r–r– 1 oracle dba 10267 Oct 11 13:39 rr1

drwxr-xr-x 5 oracle dba 7168 Nov 7 17:19 paresh

drwxr-xr-x 2 oracle dba 1024 Oct 19 2005 RMAN

drwxr-xr-x 3 oracle dba 1024 May 24 14:19 oraprocs

-rw-r–r– 1 oracle dba 607 Oct 3 2005 local.login

-rw-r–r– 1 oracle dba 582 Oct 3 2005 local.profile

-rw-r–r– 1 oracle dba 385 Oct 10 10:47 afiedt.buf

-rw-r–r– 1 oracle dba 124 Oct 3 2005 local.cshrc

drwxr-xr-x 2 oracle dba 96 Oct 16 15:17 scripts

drwxr-xr-x 3 oracle dba 96 Oct 4 2005 patch

drwxrwxr-x 3 oracle dba 96 Oct 3 2005 app

drwx—— 2 oracle dba 96 May 17 16:16 nsmail

total 48

Linux/Unix, shell

Post navigation

Previous Post: Locktree.sql
Next Post: oradebug ipcrm ipcs

Related Posts

  • on IBM-AIX for display Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • CPU speed on solaris Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • CPU speed on Linux 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
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • plan10g.sql good1 Oracle
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • All About oracle password and security from metalink Oracle
  • CPU speed on Linux Linux/Unix
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • ext#.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme