TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: A. DUMAS
from: RICHARD KETTLEWELL
date: 2018-03-26 09:13:00
subject: Re: Raspian Jessie and St

"A. Dumas"  writes:
> On 26/03/2018 01:10, Roger Bell_West wrote:
>> On 2018-03-25, bob prohaska wrote:
>>> What I expected to use was something like
>>> sudo unzip -p *.zip | dd of=/dev/sdc
>>> but that gives a permissions error, then reports an archive error after the
>>> password is entered.
>>
>> Well, the sudo there only applies to the unzip, not to the dd.
>
> Yeah and you can't pipe to sudo.

Yes you can...

>> I'd be more inclined to go to a proper root prompt (su -, or sudo su -
>> if you have to)

or: sudo -s

>> and then try the rest of the incantation without the
>> sudo. No need for password entry.
>
> It could work but if it fails you have no idea where it went wrong,
> unpacking or writing.

I don’t see why, provided you’re prepared to read the error message.

--
https://www.greenend.org.uk/rjk/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.