2010-08-13
- Read UNIX/Linux system IP address in a shell script
ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'
- Linux IP Commands
$ tracepath www.whatismyip.com # Advanced DNS Test: $ dig www.whatismyip.com # Reverse Lookup: $ host 66.11.119.69 # Advanced Reverse Lookup: $ dig -x 66.11.119.69
Open Source : Python
- stdeb - compile Python Modules into debian packages - http://github.com/astraw/stdeb - Debian python-stdeb
$ sudo apt-get install python-stdeb $ py2dsc [options] mypackage-0.1.tar.gz # uses pre-built Python source package $ cd deb_dist/mypackage-0.1.0/ $ dpkg-buildpackage -rfakeroot -uc -us $ cd .. $ sudo dpkg -i python-mypackage-*.deb
Last modified 14 years ago
Last modified on Aug 22, 2010, 8:10:24 PM
Attachments (1)
- 10-08-13_VBox_on_KVM.png (29.7 KB) - added by jazz 14 years ago.
Download all attachments as: .zip