In this guide, i will demonstrate how you can password protect sections of your site on an Nginx web server.
Read moreFind all files with 777 permissions:
Read more$ find . -type f -perm 777 -print
To change file permissions on linux run the command below:
$ chmod 777 filename.sh
To make a bash script executable on linux run the command below:
$ chmod u+x filename.sh
To count lines in a file on linux run the command below:
$ wc -l filename