Artificial Intelligence (AI) & Machine Learning Course for Managers

 Enroll Now

Linux Basics

39 / 87

Permission: Assignment - Nobody other than owner can read the file

Create a new file called myemptyfile. You can use:

touch myemptyfile

Check its permissions using:

ls -l myemptyfile

Using chmod, give it permissions such that nobody other than owner of a file can read the file.