Bash script copy file to user's (wildcard) home dir – unix.stackexchange.com

I need to copy /root/nbu/file1.sh to every user's home directory if user's id is even number. Trying to execute following script: #!/bin/bash cat /etc/passwd | while read LINE do username=$(awk ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Bash script copy file to user's (wildcard) home dir – unix.stackexchange.com"