How to change permissions linux

chmod 777 filename

chmod u+x filename to make file exacutable