Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • New OFA for 11g Oracle
  • online_bkup.sql Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • Important Script Method for tuning Oracle
  • proper cpu stats Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • load SPM baseline from cursor cache Oracle
  • Clean up Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Resolving RMAN Hung Jobs 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
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • OEM-Commnds Oracle
  • create database syntax Oracle

How to remove blank lines using vi editor command

Posted on 09-Jul-2009 By Admin No Comments on How to remove blank lines using vi editor command

use the following:

:g/^$/d

Linux/Unix, shell

Post navigation

Previous Post: remove archfiles only when it is applied to DR rm_archfiles.sh
Next Post: EXTPROC

Related Posts

  • Sort with ASCII order and Numeric Order Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Jai Shree Ram Linux/Unix
  • catall.sh Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • Find Command 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • find the files that are 1 day old. Linux/Unix
  • How to see which patches are applied. Oracle
  • shutdown linux Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • Histogram Overview Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme