Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Histogram information Oracle
  • Implementing Listener Security Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Configure ssh authentications for RAC Oracle
  • fuser to check who is using diretory Linux/Unix
  • Wait.sql Oracle
  • Linux CPU info. Linux/Unix
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Rename Tablespace Oracle
  • V$ROLLSTAT status is Full Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • create database syntax Oracle
  • CPU Core related projections AWS
  • Search and replace editor command in vi Linux/Unix

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

  • to see when crontab is changed. Linux/Unix
  • restarting network in linux Linux/Unix
  • purge_trc.sh Linux/Unix
  • set_env_dba Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • backspace in SQL Plus not working then..? 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 (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Debugging Shell FIles Linux/Unix
  • USE_NL and INDEX hints example Oracle
  • ext#.sql Oracle
  • Oracle Material from OTN Oracle
  • Histogram Overview Oracle
  • arch_configUOCIOTTO.ora Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme