Domanda di colloquio di Hudson River Trading

Q: What does the following command do? mv *

Risposta di colloquio

Anonimo

12 mar 2022

if the last item (alphabetically) in the folder is a directory, it moves everything in the directory you're in, into that last one. If the last item is not a directory, it fails