bash for do done AIX

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

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Epoch & Unix Timestamp Conversion Tools
Viewed 49728 times since Fri, Jun 22, 2018
Unix - eval command example
Viewed 1886 times since Fri, Jun 8, 2018
Unix - Find command examples
Viewed 4439 times since Fri, Jun 8, 2018
Convert CSV to JSON with bash script
Viewed 4991 times since Mon, Jan 20, 2020
java Simple Java JDBC Program To Execute SQL Select Query
Viewed 3333 times since Sun, Jan 9, 2022
Convert CSV to JSON with jq
Viewed 26961 times since Mon, Jan 20, 2020
Transform XML to CSV Format | Unix String Pattern Manipulation The Ugly Way
Viewed 4987 times since Sun, Jan 9, 2022
Unix - Examples for grep command
Viewed 2894 times since Fri, Jun 8, 2018
O’Reilly’s CD bookshelf
Viewed 12043 times since Wed, Jun 27, 2018
java Simple Java JDBC Program To Execute SQL Update Statement
Viewed 12424 times since Sun, Jan 9, 2022