Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Your recommendation is what he was doing in the original version of the question. Commented Jul 9, 2016 at 13:32
  • @George Isn't this what you were doing originally? You've edited the question, but it originally had the sudo command inside the script. Commented Jul 9, 2016 at 13:33
  • @Barmar:I have (and had ) the sudo command insided the script but I was running the script also with sudo. Commented Jul 9, 2016 at 13:38