Past ExamsRwanda ICT preparation

Topics / Operating Systems

In a Bash script, echo $? is run straight after a backup command and prints 0. What does that mean?

Dans un script Bash, echo $? est lancé juste après une commande de sauvegarde et affiche 0. Qu'est-ce que cela signifie ?

Answers
AThe backup copied zero filesLa sauvegarde a copié zéro fichier
BThe backup is still running in the backgroundLa sauvegarde tourne encore en arrière-plan
CThe previous command finished successfullyLa commande précédente s'est terminée avec succès
DThe script has no permissionsLe script n'a aucune autorisation
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