A command prints normal results and error messages. Which form saves only the error messages to errors.txt, leaving normal output on the screen?
Une commande affiche des résultats normaux et des messages d'erreur. Quelle forme enregistre uniquement les messages d'erreur dans errors.txt, en laissant la sortie normale à l'écran ?
Answers
Acommand > errors.txtcommand > errors.txt
Bcommand >> errors.txtcommand >> errors.txt
Ccommand 2> errors.txtcommand 2> errors.txt
Dcommand | errors.txtcommand | errors.txt
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·3 marks·Hard
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?