Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • kill all processes from specific user in solaris. Linux/Unix
  • restarting network in linux Linux/Unix
  • Pending Distributed Transations Oracle
  • Explain Plan Output 2 Oracle
  • create a folder in multiple places Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Default User Profile Oracle
  • Database logon trigger issue Oracle
  • Locktree.sql Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • DBMS_UTILITY PACKAGE Oracle
  • find the files that are 1 day old. Linux/Unix
  • V$CONTROLFILE_RECORD_SECTION reference notes. 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

  • To see only files and/or folders using LS command Linux/Unix
  • restarting network in linux Linux/Unix
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Jai Shree Ram Oracle
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • cold backup scripts to copy locally Linux/Unix
  • SQL_PLAN.sql for checking real execution plan Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Search and Replace vi editor command. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme