When you made your first web page. You a cut and pasted very simple, very basic template from the web page directly into a new file in public_html directory in your CSUN account. In your HOME DIRECTORY at CSUN, typing ls at the CSUN prompt returns a list of your documents and directories. You should public_html. You may have seen other things as well, but we are only concerned with the public_html directory right now.
At this point you need to MOVE yourself to your public_html directory.
cd public_html.
You can take advantage of the wildcard * and type:
cd pub*
Once you are in your public_html, type ls (the Unix command for list) to see what is in your public_html. You should see cvr.html, or whatever you have named your files. Once in your public_html directory, you can use the PICO editor to edit or create new files.
pico filename.html
For cutting and pasting a new file:
If you have a text file already on your floppy disk, simply put the floppy
disk into the disk drive, open up notepad:
Once you actually have some text in notepad, add the HTML tags. Use your Writing Online book to help you with simple HTML.
Once you have added all the HTML tags, follow the same steps as last week.
Go to your CSUN account, cd public_html, and type pico filename.html. This will open a new file with the name filename.html. Paste in what you worked on in notepad. Then SAVE by typing:
CONTROL X -- this is the exit funtion on your menu at the bottom --
YES -- when the prgram asks if you want to save from buffer
AND CARRIAGE RETURN aka the ENTER key (you can rename your file at this point if you like)
Do not forget to make your NEW file readable by typing:
chmod a+r * (there IS a space between a+r and *)
each time you have made and saved a new file.
Go to your CSUN webpages in Netscape and take a look. Remember, your webpage is http://www.csun.edu/~yourloginaccountname. Edit as many times as neccesary until you like the way the page looks. Don't forget to reload Netscape everytime you re-save.
This next bit is surrounded by PRE tags. It shows exactly what is on the screen. Open up your web browser (Netscape works best). Type: telnet://csun2.csun.edu in the location window.