If I weren't able to figure a solution by reading the man pages, didn't know what commands to use, etc. I would search:
- The documentation of the codebase in use
- Stack Overflow
In some cases, I look at the actual code and the comments therein to get a better perception of how they work.