Step 1: Update /etc/hosts
192.168.0.6 newsolaris
Step 2: Change /etc/nodename
echo "newsolaris" > /etc/nodename
Step 3: Update /etc/hostname.
echo "newsolaris" > /etc/hostname.e1000g0
Step 4: Set the hostname using uname
uname -S newsolaris
192.168.0.6 newsolaris
Step 2: Change /etc/nodename
echo "newsolaris" > /etc/nodename
Step 3: Update /etc/hostname.
echo "newsolaris" > /etc/hostname.e1000g0
Step 4: Set the hostname using uname
uname -S newsolaris
Step 5: Reboot the system
reboot