Ace your COMPTIA A+ certification with our practice exam. Engage with a variety of questions including multiple choice and performance-based, complete with hints and detailed explanations. Prepare effectively and boost your confidence for the big day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which of the following is NOT an apt-get switch?

  1. update

  2. upgrade

  3. delete

  4. remove

The correct answer is: delete

The apt-get command is a powerful tool for installing, updating, and removing software packages on Debian-based systems. The update and upgrade options are both used for updating the list of available packages and upgrading installed packages to the latest versions, respectively. The remove and delete options are both used for uninstalling packages, so these are similar in functionality. However, the delete option is not a valid apt-get switch, making it the correct answer for this question.