Past ExamsRwanda ICT preparation

Topics / Operating Systems

While reproducing a problem on a web server, an administrator wants to watch new lines appear in /var/log/nginx/error.log as they are written. Which command does this?

En reproduisant un problème sur un serveur web, un administrateur veut voir apparaître les nouvelles lignes de /var/log/nginx/error.log au fur et à mesure de leur écriture. Quelle commande le fait ?

Answers
Acat /var/log/nginx/error.logcat /var/log/nginx/error.log
Bhead -f /var/log/nginx/error.loghead -f /var/log/nginx/error.log
Ctail -f /var/log/nginx/error.logtail -f /var/log/nginx/error.log
Dless -n /var/log/nginx/error.logless -n /var/log/nginx/error.log
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·2 marks·Medium

More Operating Systems questions