Thanks to everyone that replied pointing out that it was /dev/null that
I needed NOT /dev/zero.
Thanks again
Don Sharp
"Peter J. Acklam" wrote:
>
> Don Sharp <[EMAIL PROTECTED]> wrote:
>
> >I carried out the following sequence of commands
> >
> >$ for i in `cat /tmp/d`; do if [ -f $i.idx ]; t
Don Sharp <[EMAIL PROTECTED]> wrote:
>I carried out the following sequence of commands
>
>$ for i in `cat /tmp/d`; do if [ -f $i.idx ]; then ls -l ${i}*; fi; done
>-rw-r--r--1 don None0 Jun 17 1998 dtaq
>-rw-r--r--1 don None 3072 Jun 17 1998 dtaq.idx
>$ cp /
Don,
The functionality you need is "/dev/null".
Indeed, the function of /dev/zero is to provide a
file which you can read indefinitely. You should use
it like this :
dd if=/dev/zero of= bs=1024 count=number_of_blocks
Regards,
Jurgen
Don Sharp <[EMAIL PROTECTED]>
Sent by:
[EMAIL PRO
3 matches
Mail list logo