No, the cp command does not support copying to multiple destinations in a single command. You can only specify one destination for each cp command.
However, you can achieve this by running multiple cp commands, one for each destination. For example:
cp source_file destination1/
cp source_file destination2/
Alternatively, you can use a loop in a shell script to copy to multiple destinations. Here's a simple example using a loop:
for dest in destination1/ destination2/; do
cp source_file "$dest"
done
This will copy source_file to both destination1 and destination2. If you have more questions, feel free to ask!
