Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Small sample shell program Linux/Unix
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Parallel DML Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • create database link syntax Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • ipcs -l Linux/Unix
  • newupload.html PHP/MYSQL/Wordpress
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Goldengate document from Porus Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • How to stop OCSSD Daemon 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

  • Remove DOS CR/LFs (^M) Linux/Unix
  • set_env_dba Linux/Unix
  • Debugging Shell FIles Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • move_arch_files.ksh 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
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • crontab syntax Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • SQL Server: How to see historical transactions SQL Server
  • How to calculate PROCESSES parameter Oracle
  • My Minimum Tuning Programs Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • How to find where datafile is created dbf_info.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme