Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Unix command for system configuration Linux/Unix
  • Free conference number from http://www.freeconference.com Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • online_ts_bkup.sql Oracle
  • Jai Shree Ram Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • chk_space_SID.ksh Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Monitor and Trace Unix processes using truss Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • shr1.sql for MTS or Shared server configuration Oracle
  • Some useful Unix Commands Linux/Unix
  • CTAS with LONG Column for 9i and higher 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

  • scripts to take listener.log backup Linux/Unix
  • Linux CPU info. Linux/Unix
  • good linux notes Linux/Unix
  • purge_trc.sh Linux/Unix
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Guide to Linux System Command Mastery 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • SYSOPER Mystery Oracle
  • Histogram information Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Rman Notes -1 Oracle
  • Jai Shree Ram Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme