Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • alter database backup controlfile to trace Oracle
  • Oracle Statspack survival Guide Oracle
  • 10g oem configuration Oracle
  • Jai Shree Ram Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • PLSQL Table Syntax 1 Oracle
  • Export Import with QUERY Oracle
  • Removing first line Linux/Unix
  • Changing default shell Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • All About oracle password and security from metalink Oracle
  • My Test Case On 21-OCT-2005 Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • FGA Part-I Oracle

replace alphabets using sed

Posted on 28-Aug-2008 By Admin No Comments on replace alphabets using sed

Following will replace anything except numeric digits.

sunflower1/800P>echo /db15/archlogbak/800P/arch0000295711.arc | awk -F”/” ‘{print $NF}’ | sed -e ‘s|[^0-9]||g’

0000295711

Linux/Unix, shell

Post navigation

Previous Post: Reading parameter file and printing
Next Post: Finding last recovered file on DR and remove all chanracters before any “/”

Related Posts

  • set_env_dba Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • Generate SSH without password authentication. Linux/Unix
  • how to find VIP from ifconfig Linux/Unix
  • on IBM-AIX for display 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
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • logminer and my_lbu Oracle
  • oracle Dba site Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Import and export statements Oracle
  • Very clear article about oracle dataguard Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme