lin-club  

Re: [Haifux] RFC: Summary of the Basic Use Lecture

Tzafrir Cohen
Fri, 21 Sep 2001 08:58:36 -0700

On Fri, 21 Sep 2001, Shlomi Fish wrote:

>           Should we use zip instead of tar.gz ?
>           Should we cover archives at all in this lecture?

No. tar archives are more common than zip archives. The tar command also
behaves more like a "good unix command". If an archive is to be shown, it
should be tar.

>
>       - Making backups of all the files:
>           for I in *.c ; do cp $I $I.bak ; done
>           (this diverts into shell scripting, but we should do it to
>           demonstrate the power of the UNIX shell)

One thing that is quite different is the behaviour of '*'. e.g: xhy 'cp
*.a *.b' won't work and may cause unexpected results.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]