Better HN
topnewbestaskshowjobs
Log inSign up

oxodorth

8 karma · joined Oct 25, 2022 (4y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

Same here, a few times over the years. Another useful trick is piping input from echo to xxd -r -ps to dd so you can specify hex bytes directly in the echo arguments rather than reading input from a file. Quite handy if it's an embedded system that you can't easily transfer files to, but can get a shell on.

comment 4y ago · link · parent

There's no need to pipe via pv when you can just use dd's status=progress option.