Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


Closed Thread
  Search this Thread
Old 06-20-2005, 10:13 PM   #1
Registered: Sep 2003
Posts: 156

Rep: Reputation: 30
please help with this scripts

I don't know much about linux newbee...trying to cross into the linght.....

I got this homework quiz project and don't have any idea on how to do this...

here are the questions

b) Describe the difference between the while, until and for statements in the
Korn shell. Show a small example shell script of using each.

c) Write a shell script that performs the following tasks:

1) Displays a message similar to: It is now 2002-06-03 21:30:54 using
the current info.

2) If the time is between 11:30pm - 5:00am, display a message stating

"You should be sleeping!" Otherwise, display a message stating "You're
working hard!"

3) Display a prompt and ask for the user to guess your name. If they
guess incorrectly, the script should display an appropriate message and
ask them to guess again. It should continue until the user correctly
guesses your name. It should then display how many guesses it took to
get it right.

can some1 help me do this cause my brain is fried.........please help with these question guys..........
Old 06-21-2005, 03:14 AM   #2
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
Please in the future post the thread in its suitable place

and be sure to read the rules as it states that
" Do not expect LQ members to do your homework - you will learn much more by doing it yourself."

check these links out as they will help you out

Last edited by heema; 06-21-2005 at 03:20 AM.
Old 06-21-2005, 03:05 PM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I'm closing this - we really really don't help with homework. If you don't understand the questions, you would be better served by discussing them with your lecturer or classmates.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN: Debian Scripts -> Mandriva 2006 Scripts Undefined Mandriva 0 11-30-2005 12:10 PM
Need help running scripts from scripts sdouble Linux - Newbie 3 05-31-2004 12:56 PM
What scripts would you like to see? kittani Linux - Software 1 05-20-2004 03:26 AM
Scripts? zombie killa Linux - Software 5 05-29-2003 05:19 PM
scripts mdjames0 Linux - Newbie 4 08-02-2002 09:10 PM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration