Linux/UNIX commands

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:

-rwxr-xr– 1 instruct staff 270311 Aug 11 2009 install.sh
-rw-r–r– 1 instruct staff 348039 Aug 12 2008 User_Guide.txt
-rw-r—– 1 instruct staff 635106 Aug 12 2009 Admin_Guide.txt
drwxr-xr-x 4 instruct staff 144 Aug 12 2009 Documents
-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:

1. *
2. ?
3. ^
4. $
5. [0–9]
6. [a–z]

Give a regular expression to match the following:

1. All files that end in txt
2. Files that have a second character of a and end in sh
3. Any file that starts with a number
4. A blank line
5. A traditional 10-digit U.S.-based phone number, in the following format:
(407) 555-1212

p(1)

Place your order now to enjoy great discounts on this or a similar topic.

People choose us because we provide:

Essays written from scratch, 100% original,

Delivery within deadlines,

Competitive prices and excellent quality,

24/7 customer support,

Priority on their privacy,

Unlimited free revisions upon request, and

Plagiarism free work,

 

Unlike most other websites we deliver what we promise;

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered with 6 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.

GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: