Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/Desktop: if [ "ifconfig -a | grep 'eth0' | awk '{print $1}' | tr '\n' '#'" = "eth0#" ]; then echo "yay"; else echo "boo"; fi
- boo
- ~/Desktop: ifconfig -a | grep 'eth0' | awk '{print $1}' | tr '\n' '#'
- eth0#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement