Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Read CSV file using PySpark Python/PySpark
  • Unix command for system configuration Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle
  • Wait.sql Oracle
  • get_vmstat_solaris Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Find sort details from Db find_sort.sql Oracle
  • Histogram Overview Oracle
  • Changing the Global Database Name Oracle
  • Database link password in user_db_links Oracle
  • Some useful Unix Commands Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • copying/removing directory with all its subdirectory Linux/Unix

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

  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • how to find VIP from ifconfig Linux/Unix
  • oracle fast start failover best practice Oracle
  • Backup and Recovery Scenarios Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • import-export with multiple files Oracle
  • load SPM baseline from cursor cache Oracle
  • find_cons.sql Oracle
  • metalink all dynamic view reference notes. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme