chmod
chmod command allow you to change permission for a file or folder.
chmod 755 index.php
The above command changes the permission of file index.php to 755.
chmod -R 755 public_html
Above command change permisison of folder public_html and files inside it to 755. -R option is for recursively chmod.
Back to Linux Commands