An administrator has edited a configuration file in vim. How do they save the changes and exit?
Un administrateur a modifié un fichier de configuration dans vim. Comment enregistre-t-il les modifications et quitte-t-il ?
Answers
APress Ctrl + S, then Ctrl + QAppuyer sur Ctrl + S, puis Ctrl + Q
BType exit and press Enter twice to confirm the saveTaper exit et appuyer deux fois sur Entrée pour confirmer l'enregistrement
CPress Esc, then type :wq and press EnterAppuyer sur Échap, puis taper :wq et Entrée
DPress Ctrl + X, then YAppuyer sur Ctrl + X, puis Y
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 RWFMIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·2 marks·Medium
More Operating Systems questions
- You need to print the whole contents of a file. Which command does that?
- What does the Linux command `uname` do?
- What does the Linux command `chmod` do?
- On a Linux system, what does /boot contain?
- What does the Linux command `ping` do?
- What does the Linux command `ps` do?
- What does the Linux command `tar` do?
- You need to search a directory tree for files matching criteria. Which command does that?