1. If you want to rename an file with host name of an server, just do an simple command
#mv oldfilename newfilename$(hostname)
instead of host name you can change it to any variable name
2. compare two files using following command
# sdiff -s file1 file2
#mv oldfilename newfilename$(hostname)
instead of host name you can change it to any variable name
2. compare two files using following command
# sdiff -s file1 file2