Question d’entretien chez KANERAI

What does the command `echo $(ls)` do?

Réponse à la question d'entretien

Utilisateur anonyme

12 août 2024

The command uses command-substitution to echo the output of the `ls` command. Let’s ignore for the moment that it is relatively pointless since just `ls` would have the same effect without `echo`.