Bu blog GlobalHosting tarafindan barindirilmaktadir. | Valid XHTML 1.1 and CSS 3
hosting

Kure Hosting, Global Hosting tarafindan devir alinmistir. Lutfen sitemizi ziyaret ediniz. http://www.globalhosting.com.tr

  • Linux altında LAN’daki hostları bulma

    Linux altında (windows altındada gerçekleştirebiliriz) tek satır kod ile network aralığını verdiğimiz tüm ip gruplarını pingleyebiliriz.Bu şekilde hangisinin up hangisinin down olduğunu çıktı sayesinde anlarız.Ağımız 192.168.0.1/24 aralığına sahip ise komutumuz :

    $ for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null;
    [ $? -eq 0 ] && echo “192.168.1.$ip UP” || : ; done

No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
hosting TOP