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
Convert JSON to CSV with bash script
Viewed 13094 times since Mon, Jan 20, 2020
Convert CSV to JSON with bash script
Viewed 5273 times since Mon, Jan 20, 2020
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 4015 times since Fri, Jun 8, 2018
Transform XML to CSV Format | Unix String Pattern Manipulation The Ugly Way
Viewed 5742 times since Sun, Jan 9, 2022
Epoch & Unix Timestamp Conversion Tools
Viewed 62996 times since Fri, Jun 22, 2018
Convert CSV to JSON with jq
Viewed 27581 times since Mon, Jan 20, 2020
Unix - Find command examples
Viewed 4645 times since Fri, Jun 8, 2018
Unix - Examples for grep command
Viewed 3152 times since Fri, Jun 8, 2018
java Simple Java JDBC Program To Execute SQL Update Statement
Viewed 13078 times since Sun, Jan 9, 2022
Display basic information about Physical Volumes
Viewed 3534 times since Sun, Jun 3, 2018