A bash script to copy one file to multiple users Posted on 12. April 200714. November 2007 by Hans-Henry Jakobsen #!/bin/bash for dir in /home/* do cp /path/to/file "$dir" done Share this:FacebookX