Set up Password Authentication with Nginx

December 24, 2022 Reading time: ~1

In this guide, i will demonstrate how you can password protect sections of your site on an Nginx web server.

Read more

Linux Command Find Useful Examples

December 24, 2022 Reading time: 2

Find all files with 777 permissions:

$ find . -type f -perm 777 -print

Read more

Change File Permissions

December 24, 2022 Reading time: ~1

To change file permissions on linux run the command below:

$ chmod 777 filename.sh


Make a Bash Script Executable

December 24, 2022 Reading time: ~1

To make a bash script executable on linux run the command below:

$ chmod u+x filename.sh


Count Lines in File

December 24, 2022 Reading time: ~1

To count lines in a file on linux run the command below:

$ wc -l filename


About

Welcome to my blog. I'm a technology enthusiast. I will use this space to present my projects and post simple tips on computer technology and programming.

Tags