Experiment No: 03 Shell command for Linux file management

 


 

Course Title: Operating Systems

                                              Course Code: CSE323

 

Submitted To:

Md Sabab Zulfiker

Lecturer

Department of Computer Science and Engineering

Daffodil International University

 

Submitted By:

Name: Kawshik Ahmed Ornob

ID: ***-**-*****

Section: 59_D

Department of Computer Science and Engineering

 

 

 

 

 

Experiment No: 03

 

Experiment Name: Shell command for Linux file management 

 

·       Make a directory and then make a text file to do operations.

 


·       Run “ls -l” to see the permissions that the text file have.


·       Here,

r- reading permission which value is 4.

w- writing permission which value is 2.

x- executing permission which value is 1.

So, if we want to give full permission to the file we have to input “777”.

Use “chmod 777 file name” to give the permission.

 


·       In “rwxrwxrwx” first rwx in for the user middle rwx is for the group and last rwx is for the others part.

We can also give and take permissions from these part in different way like,

If we want to take execution permission from all of the parts we can apply “u-x”, “g-x”, “o-x”.

 


·         We can also see umask of any file just running “umask”.

 


Post a Comment

"Give your valuable feedback"
"Thank you"