Wednesday, November 21, 2012
how to escape $(dollor sign) in makefile
to escape $ sign in Makefile, you will have to use double dollor sign. i.e
$$ will be interpreted as "$"
Tuesday, November 20, 2012
sed search lines and comment out or uncomment
comment out..
sed '/pattern/s/^/#/'
uncomment out...
sed '/pattern/s/^/# *//'
Wednesday, November 7, 2012
srpms introduction
http://www.rpm.org/max-rpm/s1-rpm-miscellania-srpms.html
http://crashcourse.ca/content/working-source-rpms-under-centos
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
http://crashcourse.ca/content/working-source-rpms-under-centos
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
extract source rpms
1. rpm2cpio - Extract cpio archive from RPM Package Manager (RPM) package.
2. copy files to and from archives
2. copy files to and from archives
rpm2cpio | cpio -id
Friday, November 2, 2012
ubuntu CTRL+ALT+F10
CLTRL+ALT+F10 - kill desktop
CTRL+ALT+F7 - restore desktop
CTRL+ALT+F7 - restore desktop
Subscribe to:
Posts (Atom)