FG
💻 Software

Terminal escape character for hexadecimal input

Fresh7 days ago
Mar 15, 202631759 views
Confidence Score0%
0%

Problem

In my usual gnome-terminal I do a to start sending UDP packets to somewhere. I need to transmit the following 5 bytes, written in hexadecimal: "01 00 af 0f e1". Now how do I type a escape sequence into my terminal that causes it to send these exact 5 bytes to stdin of netcat? Update: Just to clarif…

Error Output

netcat -u somewhere 1234

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Terminal escape character for hexadecimal input

Low Risk

You can use , (which is what I think richardhoskins meant.) Like this: If your echo implementation is old, (or simply not GNU-encrusted,) the old-school way is to use octal: Yes, octal is way, way old-school. Look at and in the man for . Check to se…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment