Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • standard Monitoring – 1 Oracle
  • Import and export statements Oracle
  • Set Role explaination. Oracle
  • Monitor Long Running Job Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Virtual Indexes in Oracle Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • FGA Part-I Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • cp_filesystem.sql Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • send attachment from unix-shell script Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix

Removing Blank lines from file using grep

Posted on 28-Sep-2005 By Admin No Comments on Removing Blank lines from file using grep

grep -v “^$” filename > newfilename

Linux/Unix, shell

Post navigation

Previous Post: Useful Solaris Commands on 28-SEP-2005
Next Post: Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds)

Related Posts

  • move_arch_files.ksh Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • cif crons Linux/Unix
  • secure crt settings Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • Remove DOS CR/LFs (^M) 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
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • v$event_name Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Proc code Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Reading parameter file and printing Linux/Unix
  • Some useful Unix Commands Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme