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



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 !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-24-2005
Registered User
 

Join Date: Jun 2005
Posts: 26
I want to get day from the current system date

Hi,

I want to check what day is today (like mon,Tue,wed)
When i checked the syntax, i dont see there is a format specifier for getting the day. Let me know how to get the same.

I am very new to unix and so I am asking some basic questions.

cheers,
gops
Sponsored Links
  #2 (permalink)  
Old 06-24-2005
Registered User
 

Join Date: Jun 2005
Location: Bangalore , INDIA
Posts: 28
Check out this command

date '+%a'

this will return the current day.

Their are other options too. Check out the man page of date command
  #3 (permalink)  
Old 06-24-2005
Registered User
 

Join Date: Jun 2005
Posts: 26
Thanks Amit for your input. It is working fine
Sponsored Links
Closed Thread

Bookmarks

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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
get current system date wtolentino UNIX for Dummies Questions & Answers 5 07-30-2009 11:55 AM
calculate the date of next satureday of current date. rinku Shell Programming and Scripting 3 09-03-2008 12:05 AM
Get date and time for past 1 hour from current date spch2o Shell Programming and Scripting 5 08-29-2008 05:32 AM
Perl: Extracting date from file name and comparing with current date MKNENI Shell Programming and Scripting 4 03-26-2008 04:01 PM
File date vs Current date trexlim Shell Programming and Scripting 4 05-04-2007 10:35 PM



All times are GMT -4. The time now is 07:25 AM.


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-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0