Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Jai Shree Ram Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • import-export with multiple files Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • purge_trc.sh Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • TRUNCATE Privs Oracle
  • Add new columns in dataframe Python/PySpark
  • CPU speed on solaris Linux/Unix
  • Drop all SPM baselines for SQL handle Oracle
  • create database link syntax Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle

Remove DOS CR/LFs (^M)

Posted on 11-Sep-2009 By Admin No Comments on Remove DOS CR/LFs (^M)

Remove DOS style CR/LF characters (^M) from UNIX files using:

sed -e ‘s/^M$//’ filename > tempfile

The newly created tempfile should have the ^M character removed

Linux/Unix, shell

Post navigation

Previous Post: RMAN : Consistent Backup, Restore and Recovery using RMAN
Next Post: Caching sequence in Memory

Related Posts

  • catall.sh Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • how to find VIP from ifconfig 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Changing the Global Database Name Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • get_vmstat.ksh Linux/Unix
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Jai Shree Ram Linux/Unix
  • oracle 11g RAC on vmware Oracle
  • SQL Server: How to see current transactions or requests SQL Server

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme