In this article, I’ll present a nifty little trick for running a command on a set of parameters. This trick uses the AIX apply command. Apply can be easier to use than more elaborate tools such as xargs, awk, or perl, so it's a helpful command to have up your sleeve. As you'll see, you can write a one-liner using apply and save yourself from creating a more elaborate loop or writing a script. You can use apply to create simple reports; for example, displaying one of the ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on POWER IT Pro for free.