1 / 7

Exercise Two: Uploading an ASCII file to UHUNIX

Exercise Two: Uploading an ASCII file to UHUNIX. Part 2: Directories. donna Bair-Mundy. Check for existing public_html directory. ls. %. mail public_html %. I have a public_html directory. I do not have a public_html directory. Create a public_html directory. mkdir. public_html. %.

derry
Download Presentation

Exercise Two: Uploading an ASCII file to UHUNIX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exercise Two: Uploading an ASCII file to UHUNIX Part 2: Directories donna Bair-Mundy

  2. Check for existing public_html directory ls % mail public_html % I have a public_html directory I do not have a public_html directory

  3. Create a public_html directory mkdir public_html % ls % mail public_html %

  4. Check access permissions % ls -l drwx------ 2 donnab 3584 Apr 10 2002 mail -rw------- 1 donnab 45927 May 8 11:59 myfile.txt drwxr-xr-x 5 donnab 1024 Mar 20 13:51 public_html % r w x r - x r - x owner group public Access rights are correct Change the access rights

  5. Changing access rights to public_html % ls -l drwx------ 5 donnab 1024 Mar 20 13:51 public_html % chmod 755 public_html % ls -l drwxr-xr-x 5 donnab 1024 Mar 20 13:51 public_html r w x r - x r - x owner group public

  6. Changing access rights to your personal home directory % chmod 711 . r w x –– x –– x % 1 1 1 0 0 1 0 0 1 7 1 1 ls -a . .. public_html

  7. Log off UHUNIX2 % logout You are now logged out from the Sun Tue Jul 8 11:20:18 HST 2003 Proceed to Part 3

More Related