Need help with simple script (noob) | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Need help with simple script (noob)

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-23-2012
earthicle earthicle is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 1 November 2012, 5:36 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Need help with simple script (noob)

Hi

This is my first time attempting a bash script, or any kind of programming.

I'm trying to get a clear picture but it helps to work backwards.

It would be greatly appreciated if someone could show me what this script would look like...

Write a script that displays todays date in MM/DD/YY format (2/20/07), in DD/MM/YY (20/Feb/07) format (European style), as a "long" format - Tuesday, February 20 2007 - and as a Unix time stamp (*nix keeps track of time as being the number of elapsed seconds since midnight January 1 1970).

Thanks
Sponsored Links
    #2  
Old 10-23-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 17 April 2014, 6:29 PM EDT
Location: Saskatchewan
Posts: 18,531
Thanks: 681
Thanked 3,036 Times in 2,856 Posts
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Is there any way of splitting the script (Noob Here). pinga123 UNIX for Dummies Questions & Answers 5 05-24-2011 03:07 AM
Total noob script MatsO Shell Programming and Scripting 4 04-24-2011 04:04 PM
Simple Noob Question sethartha Ubuntu 2 12-14-2009 08:39 PM
Noob needs script help Grep harte Shell Programming and Scripting 4 07-01-2009 12:03 AM
Using PHP script with crontab (NOOB) Bobafart UNIX for Dummies Questions & Answers 5 04-26-2007 09:32 PM



All times are GMT -4. The time now is 01:35 PM.