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

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



On Fri, 19 Nov 2004 09:49:32 +1100, Les Bell <lesbell lesbell com au> wrote:
> 
> Petre Scheie <petre 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


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