FG

Is there a Bash command to convert \r\n to \n?

Fresh3 days ago
Mar 15, 202644024 views
Confidence Score0%
0%

Problem

Is there a Bash command to convert \r\n to \n? When I upload my scripts from Windows to Linux, I need a utility like this to make things work.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a Bash command to convert \r\n to \n?

Low Risk

There is:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment