BASH - Executing Commands Parsed From File

Say you need to parse some executable files from wherever - they may come from an "ls" or from a "cat" to a file - and then run them. We can do this pipe, for instance:

ls -lR dir/to/pipe  | grep \\-rwxr\-xr\-x | awk '{ print $9 }' | bash

Which will pipe the executables from the "ls" command to awk for treatment and then to "bash" to be executed.
If you need to execute files treated from another way, just be sure they are arranged as one per line.

Lemote Yeeloong Review


OSNews had a look at this netbook that sports a Chinese MIPS based CPU, the Loongson 2 running at 800MHz. As such, it uses a port of Debian for the MIPS architecture.
I surely would like to benchmark one, they don't, although the reviewer mentions it's a responsive system.

Review