Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Need help with simple script (noob)

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 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)


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 Linux
Sponsored Links
Old Unix and Linux 10-23-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 20 October 2017, 3:09 PM EDT
Location: Saskatchewan
Posts: 22,469
Thanks: 1,143
Thanked 4,262 Times in 3,936 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 08:11 AM.