2 ms·
What about using a here-doc (as in http://stackoverflow.com/a/16514624/2954547 http://stackoverflow.com/a/16514624/2954547)? sudo sh <<EOF cat foobar.i
by nerdponx 10y ago
What about using a here-doc (as in http://stackoverflow.com/a/16514624/2954547 http://stackoverflow.com/a/16514624/2954547)?
sudo sh <<EOF
cat foobar.img > /dev/sdi
EOF