Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help me complete Please help me complete 1. IF vou wanted to add these fo

ID: 3705875 • Letter: P

Question


Please help me complete
Please help me complete
1. IF vou wanted to add these four files to one Linux directory (October.doc, OCTober.doc, OCTOBER.doc, and OcTOBer.doc), how many new file would be displayed: one, two, three, or four? Explain why this is so. Do you think the answer is the same for all operating systems? Why or why not? 2. By examining permissions for each of the following files, identify if it is a file or directory, and describe the access allowed to the world, user, and group. Also give arn example when you think these permissions would make sense a.rwx--r-X b. drwx- d, dr-x r-x 3. Linux uses an LRU algorithm to manage memory. Suppose there is another page replacement algorithm called not frequently used (NFU) that gives each page its own counter that is incremented with each clock cycle. In this way, each counter tracks the frequency of page use, and the page with the lowest counter is swapped out when paging is necessary. In your opinion, how do these two algorithms compare? Explain which one would work under normal use, and define how you perceive "normal use".

Explanation / Answer

Solution:

Note: The first question is done as per Chegg guidelines, please repost others.

1)

4 files will be there, which is because the linux is case sensetive and it is written in C language which is also case sensetive langauge, and it depends on the operating system as well for example Windows is nopt case sensetive and won't allow creating these four files.

2)

a)

in this the access is as follows

first - represents it is a file

read write execute for owner or user

no permission for group

and read permission for others

b)

in this the access is as follows

first d represents it is a directory

read write execute for owner or user

no permission for group

and read write execute for others

c)

in this the access is as follows

first d represents it is a directory

only execute for owner or user

no permission for group

and read and execute for others

d)

in this the access is as follows

first p represents it is a pipe file

read write execute for owner or user

no permission for group

and no permission for others

e)

read, write and execute permissions for user and no permissions for

others and read, write and execute permissions for world.

Having to write permissions without read permissions doesn't make much sense for regular files.

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote