Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Material from OTN Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • DBMS_SQL for alter session. Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Distributed Transaction Troubleshooting. Oracle
  • Absolute file number and relative file number Oracle
  • useful dg links Oracle
  • checking redhat linux version Linux/Unix
  • Good RAC & Standby Notes Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Generate SSH without password authentication. Linux/Unix
  • ext#.sql Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 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

  • Sort with ASCII order and Numeric Order Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Find long Running Transaction 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
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • CPU Core related projections AWS

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
  • alter database backup controlfile to trace Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Good notes on Oracle Events Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Pending Distributed Transations Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • cur_sql.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme