Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • oradebug ipcrm ipcs Oracle
  • Set Role explaination. Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • useful dg links Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Directory wise folder wise space usage Linux/Unix
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Search and Replace vi editor command. Linux/Unix
  • telnet listening Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • UTL_FILE test program Oracle
  • All About oracle password and security from metalink Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Implementing Listener Security Oracle
  • sid_wise_sql.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

  • To find all disk io ( EMC as well as local) Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • copying/removing directory with all its subdirectory Linux/Unix
  • Linux CPU info. Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • How to know Number of CPUs on Sun Box 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
  • Python class import from different folders Python/PySpark
  • SQL Server: How to see historical transactions SQL Server
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Flowers Resize datafiles Oracle
  • Remove duplicate rows from table Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • shr1.sql for MTS or Shared server configuration Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme