LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-04-2006, 02:50 AM   #1
pintu_052
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
showing date using pipe


hi friends,

the date commands in linux displays the date,month and year also
what i want to do is using charmap and pipe ,i want to make a command that will only give me the date..... would u guys plZzzz help me.
 
Old 06-04-2006, 02:56 AM   #2
meng
Member
 
Registered: Apr 2005
Location: Rochester, MN
Distribution: Ubuntu 7.04
Posts: 127

Rep: Reputation: 15
What's wrong with:
date +%d

or:
date +%-d
if you don't want a leading zero.
 
Old 06-04-2006, 03:32 AM   #3
pintu_052
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
thanx a lot.... man but i was trying to do this using charmap... neway once again thanx.....
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
2-way pipe saiz66 Programming 3 11-22-2004 07:54 AM
pipe using no pipe soathana Programming 2 02-22-2003 04:33 PM
lastlog date does not match system date? jcmj Linux - Networking 6 10-22-2002 12:09 PM
who with a pipe blown99GT Linux - General 5 07-16-2002 02:58 PM


All times are GMT -5. The time now is 04:57 PM.

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