Well not everybody can do this kind of top down learning. But more power to you, though, because that's a great capability.
It's not a static property we each have -- one can learn to learn differently. I would argue that sort of information gathering is vital to documentation-heavy professions, programming included.
In other words : (imo) if you can't learn that way, you're doing a tremendous disservice to yourself by not looking for methods by which to learn how to learn that way.
Need to get the current path? Forget `pwd` or `cwd`, I'll write my own.
Need to know the number of files in a directory? I'll write my own.