Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • CTAS with LONG Column for 9i and higher Oracle
  • Unix command for system configuration Linux/Unix
  • ipcs -l Linux/Unix
  • Temporary tablespace explaination Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • Implementing Listener Security Oracle
  • check_copy_progress.sh Linux/Unix
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Running select from V$ views from remote server Linux/Unix
  • Good Link from metalink 1 Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • How to stop OCSSD Daemon Oracle
  • purge_trc.sh Linux/Unix
  • Oracle Standby Database Library Index from Metalink Oracle
  • VIvek Encryption Package and Its Usage 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

  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • CPU speed on solaris Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • ipcs -l Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Zip and unzip with tar Linux/Unix
  • Drop tempfiles from database Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • get_vmstat_linux Oracle
  • good note for shared pool tunnig Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Specify the Rollback segment to use in Transaction Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme