Command Line file duplicate name question


#1


https://www.codecademy.com/courses/learn-the-command-line/lessons/manipulation/exercises/wildcards?action=lesson_resume

I checked the superhero folder and batman.txt was already there.
However, I also moved a batman.txt from the action folder to the superhero folder.
When I went inside the superhero folder, only one batman.txt was in there.
I also just experimented and tried creating another batman.txt folder there and there were no changes.
It also doesn't give me an error saying I can't create a file with the same name or anything like that.
So what's going on in here?
Do I have two batman.txt files? Or just one?
And what happens if the contents are different?
Do they just combine together? Or is the other one never created?


#2

What do you expect to happen if you do the same in a graphical file explorer?


#3

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