Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Summaries of Tutorial on Computer Science I | CPSC 220, Lab Reports of Computer Science

Material Type: Lab; Class: Computer Science I; Subject: Computer Science; University: University of Mary Washington; Term: Spring 2008;

Typology: Lab Reports

Pre 2010

Uploaded on 08/13/2009

koofers-user-duw
koofers-user-duw 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Summary from Tutorial 1
Summary from Tutorial 2
pf2

Partial preview of the text

Download Summaries of Tutorial on Computer Science I | CPSC 220 and more Lab Reports Computer Science in PDF only on Docsity!

  • Summary from Tutorial
  • Summary from Tutorial

**1. log in

  1. Open a terminal window so you can try some text-based commands.** This is the same environment you'll be in when you start an SSH session on a remote computer to communicate with paprika.umw.edu. (Click on Launch, select applications, then Utilities, and the terminal) 3. Verify that the directory $HOME/public_html is created and has the correct permissions. Do that by entering ls -ld $HOME/public_html Here is what I see when I try that: drwxr-xr-x 35 ernie faculty 6144 Jan 20 20:49 /home/ernie/public_html The directory should have permissions rwxr-xr-x (Read,Write, eXecute for owner; Read, eXecute for group; and Read, eXecute for others.) a. If the directory doesn't exist, create it by entering: cd mkdir public_html b. If the permissions are not correct. Modify them with: chmod -R a+rx $HOME/public_html 4. Copy the file science.txt that you obtained when doing the tutorial to your directory public_html Assuming that the file is in your home directory, enter: cp ~/science.txt ~/public_html If you didn't copy the file when you did the tutorial, copy it now using: cp /users/ernie/public_html/cpsc220/science.txt ~/public_html 5. Set the permissions so the file science.txt can be accessed via the Web. To set the permissions so the file $HOME/public_html/science.txt is accessible through the Web, enter: chmod a+rx $HOME/public_html/science.txt or: cd ~/public_html chmod a+rx science.txt To set permissions so all files in the directory public_html are accessible through the Web , enter: chmod -R a+rx $HOME/public_html 6. Now view the file science.txt with a Web browser using the URL http://paprika.umw.edu/~yourloginname/science.txt