Docsity

Guide for Correcting Relative Paths in Depaul University Websites, Slides of Fundamentals of E-Commerce

Partial preview of the text

Download Guide for Correcting Relative Paths in Depaul University Websites and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Mistakes in relative paths You need to be careful that the paths inserted forrelative pages are correct once you transfer themto students.depaul.edu.You have two choices if they are not:1. Change the relative path in the file

(Use a text editor to modify the file)

  1. Change the directory structure to match the path

(Use Unix commands to shuffle files/directories)

An example

  • Links between the home and resume page.• Files were moved to condor.depaul.eduWhen created:
    • info/home.htm• info/ctilogo.gif After the transfer: - home.htm• ctilogo.gif

Text editing

  • To modify a file on students.depaul.edu, you need

to use a text editor. One of the simplest is pico.

  • A text editor is NOT the same thing as a word

processor. It does not allow you to control theappearance of the text.

  • pico was developed at the University of Washington

for composing messages in the pine mail program.The menu structure is similar to pine.

  • Syntax:

pico file_name

Commands in pico Note that (^ is the Control button):• ^G: Get Help• ^X: Exit –

Ends the pico session, saving the

text that has been modified or created.

  • ^O: Write Out –

Saves your work to a file

without ending the session.

  • ^R: Read File –

Copy a file into the buffer.

  • ^Y: Previous Page• ^V: Next Page• Move in the file using the arrow keysExample: Path name in my home page.

Unix help

If you have any questions about Unix commandswhile you are doing the assignment, you should:1. Check the online Unix reference at:

http://service.depaul.edu/dpo/support/unix/intro.html

  1. Type

man commandname

  1. Check the ECT 250 FAQ4. E-mail me to ask a question

Unix references

-^ Just Enough Unix

, Andersen, McGraw Hill, 2000,

ISBN 0-07-230297-6.

-^ Unix: The Textbook

, Sarwar, Koretsky, and Sarwar,

Addison-Wesley, 2001, ISBN 0-201-61260-7.