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.

marked as duplicate by muru, karel, Eric Carvalho, Zanna, Elder Geek Mar 24 '18 at 20:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.