I have a software installed on my computer and it hasn't been running for quite some time. I saw a potential solution to be a simple update. I'm new to the command line and would like to know what this option for sudo
will do:
sudo apt-get update -y
sudo apt-get install -y yourprogramhere
I checked man sudo
,man apt
,man get
,man install
, and man update
.
I looked for -y
documentation, and couldn't find it.
-y
will answer yes so you will not be prompted and asked to confirm installation of updates or packages – Raffa Mar 06 '20 at 20:17man apt-get
? – mook765 Mar 06 '20 at 20:19sudo
will do […] I looked for-y
documentation, and couldn't find it." – Hint #1: What command does this option appear after? Hint #2: It's notsudo
. – Jörg W Mittag Mar 07 '20 at 06:51