Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Finding locked objects Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • DB Console Mainenance. Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • fuser to check who is using diretory Linux/Unix

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

  • chk_space_SID.ksh Linux/Unix
  • shutdown linux Linux/Unix
  • Important Solaris Commands Linux/Unix
  • scp with ssh2 Linux/Unix
  • age_alert.ksh aging out alert.log Linux/Unix
  • Unix split command to split files 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • normal maintenance for exp-imp and renaming table Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • check_copy_progress.sh Linux/Unix
  • column level grant syntax Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • plan10g.sql good Oracle
  • Some useful Unix Commands Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme