Enhance your Knowledge | Flat 25% Discount on all Courses | Use Coupon Code - ENHANCE25 During Checkout |Enroll Now
Create a new file called myemptyfile. You can use:
Check its permissions using:
ls -l myemptyfile
Using chmod, give it permissions such that owner of a file should be able to modify. Everyone else should be able to only read.
Hint: You can use the following command to remove the write permissions from group and others:
chmod o-w,g-w myemptyfile
Taking you to the next exercise in seconds...