Re: open SRPMS

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

 



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@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux