Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Check Oracle installed products using one command Oracle
  • runsql_once.ksh Linux/Unix
  • Convert multiple rows to single column Oracle
  • reset Sequence Oracle
  • Caching sequence in Memory Oracle
  • good note for shared pool tunnig Oracle
  • MYSQL for Oracle DBA MYSQL
  • Read CSV File using Python Python/PySpark
  • Oracle Connections expire_time and firewall Oracle
  • Mutating Table Error while using database trigger Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Oracle Release Explaination Oracle
  • eplan.sql Oracle
  • sid_wise_sql.sql Oracle
  • JSON/XML Types in Oracle 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

  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • kill all processes from specific user in solaris. Linux/Unix
  • telnet listening Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • AWR license Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Add new columns in dataframe Python/PySpark
  • Formatter Explain plan Output 1 Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • Facts about SCN and Rollback Segment Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • Find Plan Hash value fphv.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme