![]() ![]() (Non-recommended updates are uncommon in any case.) Recommended ones, which are prefixed with a - character in the -list a | -all All updates that are applicable to your system, including those non. If you wanted all instead of recommended you would replace -r with -a. The values of argsĪre the same as for the -install command. Optionally you can download and not install recommended software using softwareupdate -d -rĮach update specified by args is downloaded but not installed.Passing -restart requires root privilege so the command in this case would be sudo softwareupdate -irR The -R (capital) or -restart option can automate this but you would want to check user session status before forcing a restart and potentially losing session state/unsaved changes/etc. In this case the security update required a restart and this was advised. ![]() To automate the restart process with softwareupdate(8), use -restart. You have installed one or more updates that requires that you restart your computer. args can be one of theĪll updates that are recommended for your system. From man softwareupdate :Įach update specified by args is downloaded and installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |