FG

Change first byte of file in Linux?

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

Problem

How can I change the first byte of multiple files in Linux? Willing to use / / /whatever. This must work correctly on binary files (i.e. not change any other bytes).

Error Output

perl

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Change first byte of file in Linux?

Low Risk

You can do something like, -n => do not output the trailing newline -e => enable interpretation of backslash escapes Replacing with your hex value. Try it first though :)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment