User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 456,419 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,648 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 1765 | Replies: 3 | Solved
Reply
Join Date: Mar 2007
Posts: 2
Reputation: SIL3NCE is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
SIL3NCE SIL3NCE is offline Offline
Newbie Poster

Help Will Pay $20 Paypal: Script Help ASAP

  #1  
Mar 5th, 2007
I need help immediately. When/if help is recieved I will pay $20 Paypal right away.

Make the script as described below and email detailed instructions in either Word (preferred) or Word Perfect format. If you don't have either word programs Wordpad will do. I need this in my hands at the latest 11:45 PST tonight.

If interested please PM me and I will give you my email address.
version 3.00.15(1)-release (i386-redhat-linux-gnu) <---Doubt that matters

1. Write a script (SIL3NCE.sh) in the bin directory that will display
a menu to standard out as follows:

==================================================
SIL3NCE's Menu

1) Display date as:
Day Mon D YYYY

2) Display date as:
Day: Day
Date: Mon DD
Time: HH:MMS

3) who is on the system

4) Quit

Enter selection:
==================================================

2. If the user selects option 1 or 2, display the date in
the format shown.

3. If the user selects option 3, display a list of users
currently logged on the system in any format you
choose.

4. Exit the script only when the user selects option 4.

5. Use the date and cut commands along with the pipe operator to solve options 1 and 2. Store the results in a local variable then display the results to the console.

=======================================================================
Example:

SIL3NCE's Menu

1) Display date as:
Day Mon D YYYY

2) Display date as:
Day: Day
Date: Mon DD
Time: HH:MMS

3) Who is on the system

4) Quit

Enter selection: 2
Day: Mon
Date: Feb 19
Time: 08:17:33

Press Enter to continue ...
=======================================================================
Last edited by SIL3NCE : Mar 5th, 2007 at 2:56 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2006
Posts: 1,509
Reputation: masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light 
Rep Power: 10
Solved Threads: 136
masijade's Avatar
masijade masijade is offline Offline
Posting Virtuoso

Re: Will Pay $20 Paypal: Script Help ASAP

  #2  
Mar 5th, 2007
Do Your Own Homework.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote  
Join Date: Mar 2007
Posts: 2
Reputation: SIL3NCE is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
SIL3NCE SIL3NCE is offline Offline
Newbie Poster

Re: Will Pay $20 Paypal: Script Help ASAP

  #3  
Mar 5th, 2007
Originally Posted by masijade View Post
Do Your Own Homework.


No thanks, someone already did it for me.:lol: Don't blame me, blame my new 360, it sucked my life into a black hole. I payed for my week long 'No Life Fest'...literally.




****Mods Please Delete The Thread****
Reply With Quote  
Join Date: Feb 2006
Posts: 1,509
Reputation: masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light masijade is a glorious beacon of light 
Rep Power: 10
Solved Threads: 136
masijade's Avatar
masijade masijade is offline Offline
Posting Virtuoso

Re: Will Pay $20 Paypal: Script Help ASAP

  #4  
Mar 6th, 2007
No. I blame you. Even if something did happen that literally incapacitated you, that is still no reason to cheat. Talk to the teacher, and if it is legitimate, they will give you time. Otherwise, you're just a lazy twit.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Shell Scripting Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 12:59 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC