Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. IP=`/sbin/ifconfig eth0 | awk '/inet addr/{print substr($2,6)}'`
  2.  
  3. echo "
  4. echo "this is my script"
  5. IP=`/sbin/ifconfig eth0 | awk '/inet addr/{print substr($2,6)}'`
  6. fi" > /tmp/myscript
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement