Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • Check Oracle installed products using one command Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • shutdown linux Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • AWR settings- MMON is not taking snapshot. Oracle
  • Space padding in korn shell Linux/Unix
  • Renaming the column name Oracle
  • ORA-01220 Oracle
  • UTL_FILE test program Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • This is from Temi Oracle
  • Roles and Stored Object behaviour 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

  • Find Command Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Search and Replace vi editor command. Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • process id based files and processes 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 (402)
  • 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

  • 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
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find_pdbs.sql Uncategorized
  • Find all users who have DML privileges Oracle
  • db_status.sql Oracle
  • cif crons Linux/Unix
  • Wait time tuning research Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme