To add a subscription after installing Red Hat Enterprise Linux 7.2, type this command as root. [[email protected] jason]# subscription-manager register –username USERNAME –password “PASSWORD” This will setup your Red Hat subscription. Then enter this command. This will refresh all of the information on your machine. [[email protected] jason]# subscription-manager refresh And finally, run this command to …

To add a new group to a Linux system, enter this command as root. [email protected]:/home/jason# groupadd [email protected]:/home/jason# groupadd dept Then, create our new user with this command. [email protected]:/home/jason# useradd -m -g dept -d /home/user -s /bin/bash [email protected]:/home/jason# useradd -m -g dept -d /home/user -s /bin/bash user Now our user is a member of the dept …

To create a new swapfile on your Linux machine to complement the existing /swap partition; the dd command will come in handy. This command will create the swap file as a loopback filesystem. adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288 This command will make the filesystem a …