Let's say I didn't know what ~/.bashrc is for. Is there a command that would tell me what the file is/does? Other than googling for an answer. The man pages have a files section, maybe there is a way to tell man: give me the man page for the command that has this file in its man page FILES section. Does something like this exist?
Find command associated with configuration file
files;configuration;man;documentation
If you have a package manager, you can query, which package owns a given file.On Arch Linux, you can use pacman -Qo FILENAMEOn Ubuntu, Debian and other distributions with apt, you can useapt-file FILENAMETo search man files, you can use zgrepcd /usr/share/manfind -name *.gz | \        # List all *.gz fileswhile read line; do        # For each file:  zgrep bashrc $line &&  # call zgrep with pattern and filename  echo --- $line ---;    # print filename if zgrep found something (&&)done                       # 