Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Logic to chech # of parameters command line parameters Linux/Unix
  • catting.sh Linux/Unix
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Mutating Table Error while using database trigger Oracle
  • Kill a session dynanically using execute immediate Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • oracle fast start failover best practice Oracle
  • standard Monitoring – 1 Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • database trigger failing Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • sess_server.sql Oracle
  • Create type and Grant on it. 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

  • adding new line after specific pattern using sed Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Debugging Shell FIles 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • dbinv.sql Oracle
  • Unix split command to split files Linux/Unix
  • restarting network in linux Linux/Unix
  • Jai Shree Ram Oracle
  • alter database backup controlfile to trace Oracle
  • exp syntax in oracle 10g Oracle
  • findobj.sql Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme