






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for creating directories and moving files using ftp and unix commands to publish web pages on students.depaul.edu. It covers creating a new directory, moving files, using telnet to change permissions, and essential unix commands.
Typology: Slides
1 / 11
This page cannot be seen from the preview
Don't miss anything!







All pages you will publish for this course mustbe located in a subdirectory of public_htmlcalled ect250.You will NOT receive credit for your homeworkif they are not located in public_html/ect250.You must create the ect250 subdirectory since itwill certainly not exist.
To create a directory on students.depaul.eduusing FTP with the browser interface:1. Select File2. Select New3. Select Folder4. Click on the folder and give it the name
you wish it to have. Alternatively you can use the new folder icon(or a similar button) in any GUI interface forFTP.
Once you can moved your Web pages into youraccount, you now need to ensure that they arevisible to a Web browser.This involves using Telnet to log into the studentsmachine and changing the access permissions onthe files and directories.Note: Some FTP programs allow you to changepermissions using the GUI interface. We will useTelnet (and Unix commands) instead.
cd directory_name
cd ..
ls
ls –l
cp old_file new_file
mkdir directory_name
rm file_name
rmdir directory_name
-^ Rename (move) a file:
mv old_name new_name
man commandname
placing them in public_html/ect
permissions for all necessary files anddirectories. (To move from directory todirectory use the
cd
command).
This will include public_html, ect250,and all files transferred in Step 2.
You must make sure that the permissions on yourdirectories and files are set correctly before yousubmit your web assignments.If your pages are not viewable you will simplyreceive a zero on the assignment.Helpful hint: Try to view your pages before yousubmit the assignment to make sure it works!
The important commands:• Move to a child directory:
cd directory_name
cd ..
ls
ls –l
Examples: Move up and down the directorystructure in public_html.
The important commands:• File access permissions:
chmod 644 file_name
chmod 755 directory_name
Example: Change the permissions on the files inthe public_html directory.