They are files that hold AFNI and SUMA environment variable settings; those files hold a lot of nice defaults, and then you can add/subtract/modify them as you wish.
A list of AFNI environment variables and default values is here:
[
afni.nimh.nih.gov]
and the SUMA environment variables are mainly described in that file itself.
The AFNI/SUMA installation instructions describe how you can install each:
$ cp $HOME/abin/AFNI.afnirc $HOME/.afnirc
(assuming you are following hte main instructions for binary installation)
and
$ suma -update_env
Using environment variables, you can change where things like reference data sets are looked for on you system, yes.
--pt