Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • MYSQL for Oracle DBA MYSQL
  • scp with ssh2 Linux/Unix
  • Search and replace pattern Linux/Unix
  • to see when crontab is changed. Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • arch_configUOCIOTTO.ora Oracle
  • How to know current SID Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • findobj.sql Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • sess1.sql Oracle
  • How to check current redo log progress redo_progress.sql 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

  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Find long Running Transaction Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • avail.sh ( find filesystem spae usage) 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • sesswait.sql Oracle
  • Paste command syntax Linux/Unix
  • Generate SSH without password authentication. Linux/Unix
  • Monitor Long Running Job Oracle
  • Important Script Method for tuning Oracle
  • oracle 10g on linux Linux/Unix
  • FRA Information. Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme