Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Connections expire_time and firewall Oracle
  • CPU speed on solaris Linux/Unix
  • Temporary Tablespace Information and restriction. Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Small sample shell program Linux/Unix
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • Read CSV file using PySpark Python/PySpark
  • get_vmstat_linux Oracle
  • SQL_PROFILE – I explaination Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Good Doc 28-JUN-2006 Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Privilege to describe the table. 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

  • ipcs -l Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • find the files that are 1 day old. Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • Removing first line 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find_pk.sql /* Find Primary Key */ Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • longtx.sql Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Pending Distributed Transations Oracle
  • PLSQL Table Syntax 2 Oracle
  • SQL_PROFILE – I explaination Oracle
  • Some OS level threshold for performance. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme