Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Roles and Stored Procs II Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • CPU Core related projections AWS
  • database trigger failing Oracle
  • Good notes on Oracle Events Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Privilege to describe the table. Oracle
  • crontab syntax Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Recovering lost SYS password 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

  • chk_space_SID.ksh Linux/Unix
  • scp with ssh2 Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Search and Replace vi editor command. Linux/Unix
  • Which environment is used by currently running process ( Very good) 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
  • Oracle 11g Training on 29JAN1010 Oracle
  • Composite Index creation tip from Vivek Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Jai Shree Ram Linux/Unix
  • Check Oracle installed products using one command Oracle
  • proc.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme