Cp:target 'historical' is not a directory

In the exersise when I copy a single text file it gets copied to the targeted location, If I try to copy two text files to a directory it shows error also the file is not copied to targeted location

cp biopic/ray.txt biopic/notorious.txt historical/ 

https://www.codecademy.com/courses/learn-the-command-line/lessons/command-line-manipulation/exercises/cp-i

What are you asking exactly? Seems like your error message explains the problem.
Maybe look around before you decide on what action to do? If you don’t know what you have it probably doesn’t make too much sense to act on the things you haven’t seen. How would you do this with a graphical file explorer? You’d probably look at some things, what?

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.