File systems and permissions | Computer Science homework help

To ensure the security of the files used by the new Web site, files need to access controls that limit which users can view and execute them. To further your understanding of file permissions, describe in detail these 5 file listings, explain all items on each line, explain what they specify or mean, and give the chmod command to set files with these permissions:

  1. -rwxr-xr– 1 instruct staff 270311 Aug 11 2009 install.sh
  2. -rw-r–r– 1 instruct staff 348039 Aug 12 2008 User_Guide.txt
  3. -rw-r—– 1 instruct staff 635106 Aug 12 2009 Admin_Guide.txt
  4. drwxr-xr-x 4 instruct staff 144 Aug 12 2009 Documents
  5. -rwsr-sr-x 1 nobody nobody 169202 Aug 11 2009 httpd

It is also a necessity to know and understand regular expressions, not only at the UNIX command line, but editors and some programs use them quite extensively.

Explain the following Metacharacters/Regular Expressions:

Give a regular expression to match the following:

  • All files that end in txt
  • Files that have a second character of a and end in sh
  • Any file that starts with a number
  • A blank line
  • A traditional 10-digit U.S.-based phone number, in the following format:

Submit the explanations, commands, definitions, and expressions in a Word document.

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.