[Gllug] Undelete...?

David Damerell damerell at chiark.greenend.org.uk
Fri Feb 6 14:00:37 UTC 2004


On Friday, 6 Feb 2004, Andrew Halliwell wrote:
>And verily, didst Rickey Costas announce to the hordes:
>>Ian Scott wrote:
>>>Or my personal favourite:
>>>ssh root at very_important_server "cd /directory/which/doesnt/exist;rm -rf *"
>>remote root logins, just say no.
>ok then, 
>ssh spike1 at very_hypercritical_server
>$ su -
># cd /directory/which/doesnt/exist;rm -rf *

Except if you already _had_ a command prompt, you'd have to be
actively perverse to do both commands at once.

&& is the answer to the original problem, of course.

-- 
David Damerell <damerell at chiark.greenend.org.uk> Kill the tomato!
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list