Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to know current SID Oracle
  • Find Stale DR Physical Standby Oracle
  • How to set Processes Parameter Oracle
  • Resolving RMAN Hung Jobs Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • good linux notes Linux/Unix
  • Insert cause enqueue locks Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Session_info.ksh Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • SQLPLUS COPY command Precautions. 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

  • move_arch_files.ksh Linux/Unix
  • CPU speed on Linux Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix
  • handling filenname with space Linux/Unix
  • find the files that are 1 day old. 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
  • Oracle 11g Training on 29JAN1010 Oracle
  • oracle fast start failover best practice Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • sqlnet.ora paramters Oracle
  • shutdown linux Linux/Unix
  • column level grant syntax Oracle
  • Database logon trigger issue Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme