Questions et réponses d'entretien les plus demandées et tests en ligne
Plateforme d'apprentissage pour la preparation aux entretiens, les tests en ligne, les tutoriels et la pratique en direct

Developpez vos competences grace a des parcours cibles, des tests blancs et un contenu pret pour l'entretien.

WithoutBook rassemble des questions d'entretien par sujet, des tests pratiques en ligne, des tutoriels et des guides de comparaison dans un espace d'apprentissage reactif.

Preparation a l'entretien

Unix Questions et reponses d'entretien

Differences associees

Linux vs Unix

Question 101. What is the significance of the ?tee? command?

It reads the standard input and sends it to the standard output while redirecting a copy of what it has read to the file specified by the user.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 102. What does the command ? $who | sort ?logfile > newfile? do?

The input from a pipe can be combined with the input from a file . The trick is to use the special symbol ?-? (a hyphen) for those commands that recognize the hyphen as std input.
In the above command the output from who becomes the std input to sort , meanwhile sort opens the file logfile, the contents of this file is sorted together with the output of who (rep by the hyphen) and the sorted output is redirected to the file newfile.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 103. What does the command ?$ls | wc ?l > file1? do?

ls becomes the input to wc which counts the number of lines it receives as input and instead of displaying this count , the value is stored in file1.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 104. Which of the following commands is not a filter man , (b) cat , (c) pg , (d) head

man A filter is a program which can receive a flow of data from std input, process (or filter) it and send the result to the std output.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Question 105. How is the command ?$cat file2 ? different from ?$cat >file2 and >> redirection operators ?

is the output redirection operator when used it overwrites while >> operator appends into the file.

Est-ce utile ? Ajouter un commentaire Voir les commentaires
 

Les plus utiles selon les utilisateurs :

Copyright © 2026, WithoutBook.