How to Set File Permissions in Linux

Here is a quick idea on how to set file permissions (read, write and execute) in Linux.