Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the key combination to send NUL byte from a terminal?

This may sound ridiculous but I need to send something like <policy-file-request/> followed by a nul byte from a terminal to a XML socket server.
I am using PUTTY but I tried all sorts of combinations like \0 or /0 or \u0000 but to no avail.
I'm wondering if there is a specific key combination for this or am I messing up somewhere?

like image 438
Kevin Boyd Avatar asked Oct 21 '25 02:10

Kevin Boyd


1 Answers

It depends on what PuTTY is emulating (different emulators might map it differently) but it's typically ^@ -- that is, Ctrl + @.

like image 51
John Feminella Avatar answered Oct 24 '25 11:10

John Feminella



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!