Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Drop specific SQL plan baseline – spm Oracle
  • Vivek Tuning for Row Locks. Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • cur_sql.sql Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • PLSQL Table Syntax 2 Oracle
  • Find_table_size.sql Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Find sort details from Db find_sort.sql Oracle
  • refre.sql Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • Checking SQL Server Version SQL Server
  • setting prompt display with .profile Linux/Unix

grep multuple patterns

Posted on 27-Oct-2010 By Admin No Comments on grep multuple patterns

cat test1 | egrep ‘TNS-|Client address’ | sed -e ‘s/^.*HOST/HOST/’

Linux/Unix, shell

Post navigation

Previous Post: fuser to check who is using diretory
Next Post: How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven)

Related Posts

  • send email from unix mailx with attachment. Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • proper cpu stats Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • For Search and replace unix command. 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
  • Jai Shree Ram Oracle
  • Mutating Table Error while using database trigger Oracle
  • RAC with RHEL4 and 11g Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • database trigger failing Oracle
  • FRA Information. Oracle
  • send email from unix mailx with attachment. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme