bash for do done AIX


for i in `lsdev -Cc adapter | egrep "^ent" | awk '{ print $1 }'` ;  do echo "#### $i ####" ;  lsattr -El $i ; echo "####      ####" ;  done



Article Number: 214
Posted: Mon, Jun 4, 2018 12:10 PM
Last Updated: Mon, Jun 4, 2018 11:43 PM

Online URL: http://kb.ictbanking.net/article.php?id=214