Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Sequence Resetting Oracle
  • Insert cause enqueue locks Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • switchlogfile.sh Linux/Unix
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • Updated LCK.SQL file. Oracle
  • How to find password change date for user Oracle
  • Oracle Release Explaination Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • find_cons.sql Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • OEM-Commnds Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle

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

  • Deleting first line and lastline of a file using sed Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • .profile Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • chk_space_SID.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
  • FRA Information. Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • telnet listening Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • S3 Basic info AWS

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme