josep wrote: > why isn't it working? :( > > sed -i "s/#send host-name "andare.fugue.com";/send host-name $(cat > /etc/hostname)/g" /etc/dhcp3/dhclient.conf your quotes don't match. (There are probably other issues as well.)