Loop for shell script

loop for shell script

loop 1 until 10
for i in {1..10}; do echo $i; done

list all files in directory
for i in /etc/*; do echo $i; done

NGINX - To allow a specific User-Agent from one IP address only

Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...

Mais vistos