Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • replace alphabets using sed Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • create a folder in multiple places Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • crontab syntax Linux/Unix
  • Rman Notes -1 Oracle
  • USE_NL and INDEX hints example Oracle
  • Pending Transaction Neighbors Script Oracle
  • eplan9i.sql Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • proc.sql Oracle
  • Find_planinfo.sql Oracle
  • Find Plan Hash value fphv.sql Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle

For Search and replace unix command.

Posted on 29-Jul-2005 By Admin No Comments on For Search and replace unix command.

To remove any text becore patterrn “pvm” in all lines of file, you need to apply following vi editor command.

%s/^.*pvm/pvm/g

🙂

“.” represend any single chanracter occurance.

Linux/Unix, shell

Post navigation

Previous Post: Search and Replace vi editor command.
Next Post: initUOCIOTTO.ora

Related Posts

  • Session_info.ksh Linux/Unix
  • Important Solaris Commands Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • set_env_dba 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Creating never expiring DB user accounts in Oracle Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • To see how much time or progress of long transaction Oracle
  • Convert multiple rows to single column Oracle
  • Find all users who have DML privileges Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme