Bash script copy file to user's (wildcard) home dir – unix.stackexchange.com 13:09 Posted by Unknown No Comments 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 Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitSpeed to travel from Jupiter to Earth in only 3 hours? – scifi.stackexchange.comTopological Classification of Four-Manifolds – mathoverflow.netLaw of Cosines contradicting Pythagorean Theorem? – math.stackexchange.comC: Passing array to a function (and why it does not work in C++) – stackoverflow.comDo people want to work in overseas branches? – academia.stackexchange.comHow to solve elastic band puzzles? – puzzling.stackexchange.com
0 Comment to "Bash script copy file to user's (wildcard) home dir – unix.stackexchange.com"
Post a Comment