/
The Linux Command Line Chapter 9 The Linux Command Line Chapter 9

The Linux Command Line Chapter 9 - PowerPoint Presentation

serenemain
serenemain . @serenemain
Follow
342 views
Uploaded On 2020-06-30

The Linux Command Line Chapter 9 - PPT Presentation

Permissions Prepared by Dr Reyes New York City College of Technology Ownership Files permissions are divided in three levels owner group everybody ls l id command used to find out information about your identity ID: 790086

foo command change permissions command foo permissions change txt chmod owner mode txtls user

Share:

Link:

Embed:

Download Presentation from below link

Download The PPT/PDF document "The Linux Command Line Chapter 9" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

The Linux Command Line Chapter 9

Permissions

Prepared by Dr. Reyes, New York City College of Technology

Slide2

Ownership

Files permissions are divided in three levels: owner, group, everybody

ls

-lid - command used to find out information about your identity

Slide3

Slide4

Change Mode

chmod

– command to change the mode or permissions of a file or directory

Permissions represented using octal notation> foo.txtls -l foo.txt

chmod

600 foo.txt

ls -l foo.txtchmod 777 foo.txtls -l foo.txt

Slide5

Changing Identities

su

- command that allows you to log in as another user

su –su – username

sudo

- command that allows you to execute commands as a different user, usually a

superuser in a controlled waysudo chown - command used to change the owner of a filepasswd - command used to change the password