Darren New wrote:
>
> % cat a b c >d
> Can't create d: permission denied
> % sudo !!
> Can't create d: permission denied
>
> Of course, the real line was much longer, so a simple "su" meant
> retyping the line (or using copy-and-paste to retype it for you) instead
> of just !! or up-arrow. :-)
>
<up arrow><home>su -c <enter>
--
Eero "Aero" Ahonen
http://www.zbxt.net
aer### [at] removethiszbxtnetinvalid
Post a reply to this message
|