Pregunta de entrevista de KANERAI

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

Respuesta de la entrevista

Anónimo

12 de ago de 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`.