Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Zip and unzip with tar Linux/Unix
  • replace alphabets using sed Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Read CSV File using Python Python/PySpark
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • Configure ssh authentications for RAC Oracle
  • Jai Shree Ram Oracle
  • For Search and replace unix command. Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • Jai Shree Ram Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Good notes on Oracle Events Oracle
  • proc.sql 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

  • checking connectivity between two servers Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Important Solaris Commands Linux/Unix
  • send attachment from unix-shell script Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • move_arch_files.ksh /* Good One */ 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find Stale DR Physical Standby Oracle
  • cache buffer chain latch Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • UTL_FILE test program Oracle
  • Reading config file from other folder inside class Python/PySpark
  • Jai Shree Ram Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme