Anciennes révisionsLiens de retourExporter en PDFHaut de page Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditDerniers changementsSend via e-MailImprimerPermalien × dhcpsend: a script to send DHCP ip to a server #a script to send DHCP ip to a server ifconfig | grep inet | grep 129 | sed 's|Bcast.*||g' | sed 's|.*:||g' | sed 's| *||g' > /tmp/ip dinip=`cat /tmp/ip` echo $dinip scp /tmp/ip username@server:path cd ~ cp bashrc.tpl .bashrc sed -i "s/fixedipdemo/$dinip/g" .bashrc info/dhcpsend.txt Dernière modification : 2018/07/18 09:45de radeff S'identifier