chmod read only command in linux 1

chmod read only command in linux

chmod 0444 /var/www/html/*

Here is what the above code is Doing:
1. Create a directory called /var/www/html/
2. Copy the index.html file from the current directory to /var/www/html/
3. Change the permissions of the index.html file to read-only for everyone

Similar Posts