Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • normal maintenance for exp-imp and renaming table Oracle
  • Find Plan Hash value fphv.sql Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • catting.sh Linux/Unix
  • How to calculate PROCESSES parameter Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • How to set Processes Parameter Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • Good links for x$ tables in oracle. Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • Rename Tablespace Oracle
  • good note for shared pool tunnig 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

  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Implementation of key based authentications Linux/Unix
  • Important Solaris Commands Linux/Unix
  • rm_backup_arch_file.ksh 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
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Find All internal Parameters Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • plan10g.sql good Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Good Link from metalink 1 Oracle
  • Unix split command to split files Linux/Unix
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme