open SRPMS
Ed Wilts
ewilts at ewilts.org
Tue Aug 16 11:41:20 UTC 2005
On Tue, Aug 16, 2005 at 03:05:56PM +0600, lasa wrote:
> I am new to this really. Sorry for asking again.
>
> How am I creating thease directory structure. Command Mkdir I know and
> why it carries , (comma) mark in between these directors.(line needed
> some simple explanation)
> ------# mkdir -p ~/REDHAT/{RPMS,SRPMS,SPECS,BUILD,SOURCES}-------??
This is equivalent to the following:
# mkdir -p ~/REDHAT
# mkdir -p ~/REDHAT/RPMS
# mkdir -p ~/REDHAT/SRPMS
# mkdir -p ~/REDHAT/SPECS
# mkdir -p ~/REDHAT/BUILD
# mkdir -p ~/REDHAT/SOURCES
Thanks for Stuart for showing me that syntax - I wasn't aware of that!
You can also use it with the ls command:
# ls /etc/{cron.daily,cron.weekly}
or more interestingly:
# ls /etc/cron{.daily,.weekly}
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program
More information about the redhat-list
mailing list