Try this: vnstat -i `ifconfig | awk -F':' -- '{ print $1 } { exit }'` Add other vnstat options as needed. -- John Hasler john@sugarbit.com Elmwood, WI USA