how_to
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| how_to [2016/08/18 15:57] – [How to drop all table from database (mysql)] k2patel | how_to [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 426: | Line 426: | ||
| ==== Creating patch for rpm ==== | ==== Creating patch for rpm ==== | ||
| + | this can be used as ' | ||
| <code bash> | <code bash> | ||
| diff -ru hdf-4.2.12-orig hdf-4.2.12-diff >| ../ | diff -ru hdf-4.2.12-orig hdf-4.2.12-diff >| ../ | ||
| Line 438: | Line 439: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | ==== Run single command parallel' | ||
| + | <WRAP prewrap> | ||
| + | <code bash> | ||
| + | (echo " | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== Print yum variable value ==== | ||
| + | <code python> | ||
| + | import yum | ||
| + | import pprint | ||
| + | |||
| + | yvar = yum.YumBase() | ||
| + | pprint.pprint(yvar.conf.yumvar, | ||
| + | </ | ||
| + | |||
| + | ==== Disable Predictable interface name in RHEL / CentOS ==== | ||
| + | Pass following during boot kernel command line. | ||
| + | <code bash> | ||
| + | net.ifnames=0 | ||
| + | </ | ||
how_to.1471535828.txt.gz · Last modified: 2020/08/10 02:30 (external edit)