Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Linux 1.Access Control Lists (ACL) offer a more advanced way to manage permissions than the basic rwx. In the assignment you used them via

Using Linux

1.Access Control Lists (ACL) offer a more advanced way to manage permissions than the basic rwx. In the assignment you used them via the getfacl and setfacl commands. Explain what ACL can do that goes beyond basic Linux permissions.

2.Bibidi wants to find a file that she used in one of her projects. She does not remember in which project it was, but she knows that it's a small file that contained the word algorithm and had the .jar extension. Additionally, all her projects are in her home Project folder, and the file she wants was a library that's normally located within the lib folder of a project (no subfolder). How can

3.Bibidi efficiently find her file? Be detailed.

a) The accountant created a folder in which he saved taxes as Tax.xls. Later, he wrote another file also named Tax.xls and moved it into the same folder. Months later, he realizes that he needs to use the tax file that was initially in the folder. What is the problem?

b) The IT person says that he may have created hard links to the initial Tax.xls file. Why would

that make a difference?

Write a script moveIfNotFull that will move a file into a directory only if that directory contains

less than X files, where X is given as argument. For example, if we write

./moveIfNotFull.sh bad.log ./tmp 10

and ./tmp has already 10 files or more, then bad.log should not be moved. Ensure that 3 arguments are provided, and that both the file and directory do exist.

4.Write a script isItHere.sh that takes as argument a filename. It shows "yes" if the file is in the current folder, and "no" otherwise

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions

Question

4. What sales experience have you had?

Answered: 1 week ago