IBM developerWorks
           UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old December 1st, 2004, 01:37 AM
naes naes is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 2 naes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Need help with a homework assignment :(

Edit: ok i realized i should have been searching for telnet help guides and not unix. I still dont understand how to create this shell though. At least i can change directories and figure some stuff out searching for telnet commands. Sorry to be so dumb

Alright i am in a computer 100 class, supposed to be really easy but i know NOTHING about unix. The level of programming required in this class is extremelly easy so i am sure the solution to this is simple as hell but i have been trying to research it online for 3 hours and still cant figure it out. The assignment is online at

http://www.cs.uic.edu/~super/CS101/LAB6/cs101Lab6.html

It wants me to write a Bourne shell script that will automatically create an HTML file. Sounds easy but i have no idea about unix and it seems so outdated i dont understand why we are learning it now.

So how do i take a html file that i created on my pc and send it through telnet to this public_html directory? I am using a program called SSH Secure Shell to work in the unix enviorment from my home computer. I understand how to make the directory but i dont know how to upload a file from my pc to this directory.

My proffesor says he did the assignment with a mere 15 lines of code. I hate to beg and i know it is prolly a hilarious question since it is prolly like childs play for anyone on these boards but I am lost. Guess i was wrong to enroll in a computer programming class Any help/advice would be really appreciate.

Reply With Quote
  #2  
Old December 1st, 2004, 09:58 AM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,307 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 28 m 57 sec
Reputation Power: 48
ftp is probably turned off on your server if you are required to login using SSH. ftp is a more or less standard way to move files between computers in the unix world, and PC world as well.

You need to use use sftp - a clone of ftp that works under secure shell.

Go here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

download the psftp.exe binary for your PC. It will connect either as ftp or sftp.

Reply With Quote
  #3  
Old December 1st, 2004, 10:15 AM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
Why not follow the instuctions in that link you posted?

Quote:
This is your first shell scripting assignment, and you may find it difficult at first. Please consult the TA or the instructor as needed if you have questions, or if you are having trouble getting started. Do not wait until the last minute to ask for help!

Reply With Quote
  #4  
Old December 2nd, 2004, 09:15 PM
naes naes is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 2 naes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks

Reply With Quote
  #5  
Old December 3rd, 2004, 02:01 PM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,307 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 28 m 57 sec
Reputation Power: 48
He did wait until the last minute, Perderabo, that's why he came here.
The assignment was due Dec 3.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Need help with a homework assignment :(


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway