Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • grep multuple patterns Linux/Unix
  • Small sample shell program Linux/Unix
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • Insert cause enqueue locks Oracle
  • Rman Notes -1 Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • import-export with multiple files Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • ORA-3136 Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • sql_doing_fts.sql Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle

Removing Blank lines from file using grep

Posted on 28-Sep-2005 By Admin No Comments on Removing Blank lines from file using grep

grep -v “^$” filename > newfilename

Linux/Unix, shell

Post navigation

Previous Post: Useful Solaris Commands on 28-SEP-2005
Next Post: Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds)

Related Posts

  • Changing default shell Linux/Unix
  • Find long Running Transaction Linux/Unix
  • purge_trc.sh Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • kill all processes from specific user in solaris. Linux/Unix
  • Find Command Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • UNderstand and eliminate Latch contention. Oracle
  • Renaming Oracle Instance Name Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • sesswait.sql Oracle
  • Find Stale DR Physical Standby Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Pending Transaction Neighbors Script Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme