Past ExamsRwanda ICT preparation

Topics / Operating Systems

What does the command make build && make deploy || echo "Build failed" do?

Que fait la commande make build && make deploy || echo "Build failed" ?

Answers
ARuns all three commands at the same time, in parallel background jobsElle exécute les trois commandes en même temps, en tâches parallèles d'arrière-plan
BDeploys only if the build works; prints the message on failureElle ne déploie que si la compilation réussit ; sinon elle affiche le message
CDeploys first, then buildsElle déploie d'abord, puis compile
DPrints “Build failed” every time, whether or not the build workedElle affiche « Build failed » à chaque fois, que la compilation ait réussi ou non
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·3 marks·Hard

More Operating Systems questions