Multiple choice technology operating systems

what is the command to move all files from the parent directory to the current directory

  1. mv ../*

  2. mv ../* .

  3. ../*. mv

  4. ../* mv

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The 'mv' command in Unix/Linux moves files from source to destination. The pattern '../' expands to all files in the parent directory, and '.' represents the current directory. The correct syntax requires both source and destination arguments: 'mv ../ .' moves all files from parent to current directory. Without the destination '.', the command fails.