[K12OSN] Scripters...I need your help! *please?*

Roger Morris roger.in.eugene at gmail.com
Thu Nov 18 22:57:27 UTC 2004


On Fri, 19 Nov 2004 09:49:32 +1100, Les Bell <lesbell at lesbell.com.au> wrote:
> 
> Petre Scheie <petre at maltzen.net> wrote:
> 
> >>
> Off the top of my head:
> 
> !#/bin/bash
> for x in `ls /home`; do
> <<
> 
> No need to use a backquoted ls; if /home only contains home directories -
> and it should - then just say
> for x in *; do

then you probably would want to 'cd /home' first to be sure you are in /home




More information about the K12OSN mailing list