Data Science Certification Course (AI/ML + DL + Big Data + Python) by E&ICT, IIT Roorkee for $179 | Expires inEnroll 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...