Monday, February 28, 2011

How to Clear Swap space usage on Linux

Sometime i want to remove swap space used  in the system. 

As root: run the command

swapoff -a && swapon -a

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...