Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: easy-directories




hi,

On Fri, 8 Dec 2000 00:00:05 +0900, Stephen J. Turnbull said:

>  su
>  for dir in /home/*; do
>   if [ -d $dir ]; then
>    mkdir $dir/test
>    chown ${dir#/home} $dir/test      # maybe you should set group, too
>    # chmod 0750 $dir/test            # maybe you need this
>   fi
>  done
>  
>  Alternatively you could use something more complicated to parse
>  /etc/passwd.

     thanks dude it worked i guess i need to read more about scripting :) thanks again


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links