Technical notes on programming for Art installations

Development and system problems, basic solutions and workarounds / Platform : Linux, C,C++,OpenCV, OpenGL, SDL, SDL2, ffmpeg, Libav, Blackmagic acquisition

lundi 28 juillet 2014

Script to test if ethernet interface eth3 is up

#!/bin/bash
var="down"
while [[ $var != "up" ]]
do
    var=$(</sys/class/net/eth3/operstate )
    echo $var
done

Publié par F à 05:21 Aucun commentaire:
Envoyer par e-mailBlogThis!Partager sur XPartager sur FacebookPartager sur Pinterest
Libellés : bash, ethernet, interface, network
Articles plus récents Articles plus anciens Accueil
Inscription à : Articles (Atom)

Rechercher dans ce blog

Archives du blog

  • ►  2016 (2)
    • ►  novembre (1)
    • ►  août (1)
  • ►  2015 (1)
    • ►  mars (1)
  • ▼  2014 (5)
    • ►  septembre (1)
    • ▼  juillet (1)
      • Script to test if ethernet interface eth3 is up
    • ►  février (3)
  • ►  2013 (6)
    • ►  octobre (1)
    • ►  juin (1)
    • ►  mai (1)
    • ►  février (1)
    • ►  janvier (2)
  • ►  2012 (10)
    • ►  décembre (1)
    • ►  octobre (3)
    • ►  août (1)
    • ►  juillet (2)
    • ►  juin (3)

Qui êtes-vous ?

Ma photo
F
Afficher mon profil complet
Thème Simple. Fourni par Blogger.