The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help me in sending parameters from sqlplus script to unix shell script Hara Shell Programming and Scripting 2 01-29-2008 03:31 PM
Shell Script: want to insert values in database when update script runs ring Shell Programming and Scripting 1 10-25-2007 04:06 AM
here document to automate perl script that call script hogger84 Shell Programming and Scripting 3 10-22-2007 11:15 AM
returning to the parent shell after invoking a script within a script gurukottur Shell Programming and Scripting 5 09-26-2006 08:05 AM
return valuse from child script to parent script borncrazy Shell Programming and Scripting 1 08-20-2004 04:39 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-29-2008
helpme2008 helpme2008 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
script

I'm trying to learn unix and was going through some problems when I ran into this questiona about creating a script that will caclulae the suam and average of the scores for the assignments and quizzes after it drops the worst one. this tool will manage the data with each own weight and generate a final grade in the letter format. Also provide the option to send the grade report to user by email. an if then else fi command is expected in the script, same as case in esac and for while loop. Unix `trap` function shall be included to demo how it uses it.
  #2 (permalink)  
Old 04-29-2008
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
And what's ur question?
  #3 (permalink)  
Old 04-29-2008
helpme2008 helpme2008 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
stuck

Im not to sure where I'm even supposed to begin with this program. I am a first time user. trying to try to prorams that I'm trying to understand
  #4 (permalink)  
Old 04-29-2008
matt.d's Avatar
matt.d matt.d is offline
Registered User
  
 

Join Date: Feb 2008
Location: /dev/null
Posts: 62
Sounds like a homework question...

Take the program in pieces. Start simple
  #5 (permalink)  
Old 04-29-2008
helpme2008 helpme2008 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
I'm going through a unix book that I bought. But I wanted to know if it was possible to see an example to see it I understand it but I have no clue to where to begin
  #6 (permalink)  
Old 04-29-2008
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
The best thing to start a script is to tell the shell in which shell the script has to run

#!/usr/bin/bash

and then...
Closed Thread

Bookmarks

Tags
learn unix

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0