Nieuws

If you administer multiple Linux servers, Jack Wallen has an easy script you can use to run commands on all of those servers at once.
To run commands simultaneously or in parallel, use the ampersand (&). However, keep in mind that using an ampersand sends the process to the background, allowing the next command to start immediately.
The eval command allows you to run the contents of variables as commands and can be very useful -- especially in scripts.
The steps described above are manifest in the following six commands: $ mkdir scripts $ cd scripts $ touch script.sh $ echo 'echo hello-world' >> script.sh $ chmod -R 777 . $ ./script.sh hello-world ...
There's a command line tool for running multiple commands on multiple Linux servers at once. Jack Wallen shows you how with Parallel-SSH.