This question already has an answer here:
I am a new Ubuntu user. How are C++ files stored in ubuntu? Like, where is iostream file and where are my new built libraries located? I don't know much about the file structure of Ubuntu, so if you have any resource where the file system of ubuntu /Linux systems is explained well do share.