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.

Required fields*

3
  • 1
    Do you feel confident enough to store it as a variable that is asked for at the beginning of the script via read? Commented May 22, 2018 at 1:10
  • Good question. I run the script on my desktop. In this case (read), the password will be stored in the shell history? Commented May 22, 2018 at 1:31
  • But you don't get asked for the password multiple times for the three apt-get calls? Commented May 22, 2018 at 7:05