1.2.1 Numbers: Extra Calculation Properties

While a division operation you have two types of data, float and integer. Python returns float an integer division like 4/2=2.0 and not directly 2. This is a new property included with python3. If you want your result from division returns an integer, use double slash //. Check the example. [crayon-5f68bf0643b58793487465/] To have remainder

By |2018-12-23T01:10:53+01:00December 22nd, 2018|Categories: Other|Tags: , , |0 Comments

…HOW TO RENAME VG AND LV IN REDHAT/CENTOS 7

HOW TO RENAME VG AND LV IN REDHAT/CENTOS 7 Back 2/2 Next, we must generate a new grub2.cfg file by using grub2-mkconfig. You can generate it according to your boot modules. On BIOS based machines: grub2-mkconfig -o /boot/grub2/grub.cfg On UEFI based machines: grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg Where -o option means where to generate output file.

By |2018-07-26T22:01:11+02:00March 4th, 2018|Categories: Other|Tags: , , , |3 Comments
Go to Top