D. Nixon: CS 12 > Tutorials > Miscellaneous typics

Home (CS 12) | Assignments | Tutorials | Quizzes & Exam | Other Info

Computer Science 12





Week 8: Miscellaneous topics

Brief introduction to the Windows Command Prompt:

Logging on to a Unix system via WinSCP:

Next week, you will be taught how to upload your HTML pages (created earlier in the semester) to a website that will display them.


To all information for Week 8  |  To all tutorials about miscellaneous topics



Week 9: Miscellaneous topics

Logging on to a Unix system via WinSCP:

To upload a file via WinSCP, once you are logged in: (1) On the left side, navigate to the directory where your files are, on your local machine. (2) On the right side, go into the  public_html  directory, which is where you must put your files in order for them to be visible on your website. (3) On the left side, select the files you want to copy. After highlighting them, select "Copy" from the "Files" menu. (4) Click on the right side, then select "Paste" from the "Files" menu and respond appropriately to subsequent prompts. (5) Once you've uploaded all your files, view them at a URL like the following, to make sure you've uploaded them correctly:

http://cs12.cs.qc.cuny.edu/~yourusername/

replacing " yourusername " with your actual username. Be sure to include the tilde (" ~ ") just before your username.

Brief introduction to Unix:

In WinSCP, you can access the Unix command line (shell) by selecting "Open Terminal" from the "Commands" menu, once you are logged in to  cs12.cs.qc.cuny.edu .  (You will be prompted to log in again.) You do NOT need to do this in order to uploaded your files, which can be done easily via the GUI interface. Nevertheless, once you have successfully uploaded (and viewed) your files, you should take the opportunity to learn a little about Unix.

File permissions and  chmod  on a Unix/Linux machine:


To all information for Week 9  |  To all tutorials about miscellaneous topics

D. Nixon: CS 12 > Tutorials > Miscellaneous topics