NathanFriend.co.uk

Developers notebook

Month: July 2015

Flush DNS cache on OS X Yosemite

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder

Run command after boot SuSE

Append a command to the end of file /etc/init.d/boot.local to be executed after booting.

echo “command” >> /etc/init.d/boot.local

Example: echo "/opt/zend/bin/zendctl.sh start" >> /etc/init.d/boot.local

Original source: http://workingbinary.com/2011/05/how-to-run-command-after-boot-on-opensuse/

© 2017 NathanFriend.co.uk

Theme by Anders NorenUp ↑