Yo've not stated what your *nix is. But...
From what I can gather, you have two tasks there:
1. Change the hostname of the unix box
2. Change how that unix box resolves other systems on the network.
For the first, you need to edit the file `/etc/hostname` and change it.
nano /etc/hostname
For the second, you need to change all the instances of `bct` to `amt` in `/etc/hosts`. You can either do this with an interactive editor or you can script it with `sed`.
Interactively:
nano /etc/hosts
With `sed`:
First, run:
sed 's/\.bct\.bolton/\.amt\.bolton/g` /etc/hosts
and make sure that it looks ok. That simply shows you what it would change. To make the changes, add the `-i` option:
sed -i 's/\.bct\.bolton/\.amt\.bolton/g` /etc/hosts