You probably should not make any of the changes mentioned here. Just note WHERE you WOULD make. Don't be afraid to cat the files on your system and look at them....
Most Linux systems have a few commands that can be used to find out what the current network configuration is, for example:
You can also use variations of the ip command:
Basic network configuration and hostname on a Ubuntu system are stored in several files which must be edited to create a working configuration: