Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Guide to Linux System Command Mastery Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • Pending Distributed Transations Oracle
  • Kill a session dynanically using execute immediate Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • get_vmstat.ksh Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • online_bkup.sql Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Flowers Resize datafiles Oracle
  • How to know current SID Oracle
  • Oracle Statspack survival Guide Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL

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

  • cold backup scripts to copy locally Linux/Unix
  • process id based files and processes Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • load SPM baseline from cursor cache Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • dbms_job.submit example Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • how to find OS block size Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • sqlnet.ora paramters Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme