How to resize the root partition size in Ubuntu?

Hi, I am using the Linux distribution to feel like a techie while executing a simple commands in the terminal, in front of my friends. But…