General TC > General TC Talk

sudo'd out

<< < (6/6)

Juanito:
My understanding is that sudo will only work on the first of a string of commands in a pipe, eg:

$ sudo command1 | command2 | command3

..so therefore you would need to add sudo to each command in the string that required it.

^thehatsrule^:
Note the difference of the extra shell.

Navigation

[0] Message Index

[*] Previous page

Go to full version