We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hostname
#!/bin/bash HOST=$(cat /etc/network/interfaces | awk '{print $2}'| sed -n "11, 1p") sed -i '1d' /etc/hostname echo $HOST > /etc/hostname
There was an error while loading. Please reload this page.