Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • DBMS_Shared_pool pinning triggers Oracle
  • find_open_cur.sql Find open cursorts per session Oracle
  • get_vmstat_linux Oracle
  • CPU speed on Linux Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Running select from V$ views from remote server Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • scripts to take listener.log backup Linux/Unix
  • get_vmstat.ksh for Solaris 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

  • Removing Ctrl-M from end of line using vi Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • set_env_dba Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • oracle 10g on linux Linux/Unix
  • move_arch_files.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)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Specify the Rollback segment to use in Transaction Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • logminer and my_lbu Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Space padding in korn shell Linux/Unix
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Database logon trigger issue Oracle
  • MYSQL for Oracle DBA MYSQL

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme