Linux Basics

You are currently auditing this course.
55 / 107

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

Ignore the below instructions if you have already created myemptyfile file in the previous question

  1. Create a new file called myemptyfile. You can use:

    touch myemptyfile
    
  2. Check its permissions using:

    ls -l myemptyfile
    
INSTRUCTIONS

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


Loading comments...