ubuntuforums-unanswered team mailing list archive
-
ubuntuforums-unanswered team
-
Mailing list archive
-
Message #02284
Re: [Question #63548]: Multiple sudo command with a pipe
Question #63548 on sudo in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/63548
Brent124578 proposed the following answer:
peter your rong you can have 2 sudo commands in one line...... you do it
like this like this
sh -c "sudo <command 1> && sudo <command 2>"
that works and you only need to put password in once :)
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.