On Thu, Oct 02, 2003 at 12:51:22PM -0300, Jos? de Paula wrote:
| #!/bin/sh
| 
| for i in `ls /home`; do
|       cat /novo_profile > $i/.bash_profile
| done

Outra variação:

for i in /home/*/.bash_profile; do cat /novo_profile > $i; done


-- 
[EMAIL PROTECTED]
http://jxz.dontexist.org/

Attachment: pgpF5qF1KNEEU.pgp
Description: PGP signature

Responder a