Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Very Good Oralce Internal Tuning Book Oracle
  • block_ident.sql Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • Remove duplicate rows from table Oracle
  • myfile Oracle
  • Sending email with file attachment. Linux/Unix
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Oracle Data Direct to TAPE Oracle
  • column level grant syntax Oracle
  • grep multuple patterns Linux/Unix
  • normal maintenance for exp-imp and renaming table Oracle
  • CPU Core related projections AWS
  • Oracle 11g Training on 29JAN1010 Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE 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

  • grep multuple patterns Linux/Unix
  • ipcs -l Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • replacing ^M character when passing files from Windows to Unix 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 (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
  • Export With Query Another Example. Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Jai Shree Ram Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • How to set Processes Parameter Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • Reading config file from other folder inside class Python/PySpark

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme