Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Roles and Stored Procs II Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Changing the Global Database Name Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Difference between SYNC and AFFIRM Oracle
  • Complete Git Tutorial for Beginners GIT
  • Goog notes on X$ tables Oracle
  • Some OS level threshold for performance. Linux/Unix
  • grep multuple patterns Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) 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

  • cold backup scripts to copy locally Linux/Unix
  • secure crt settings Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • age_alert.ksh aging out alert.log Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh 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)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Good Link from metalink 1 Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Find long Running Transaction Linux/Unix
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • TNSNAMES entries details Oracle
  • Running select from V$ views from remote server Linux/Unix
  • GSQ.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme