Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-04-2006, 03:50 AM   #1
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, 03:56 AM   #2
Registered: Apr 2005
Location: Rochester, MN
Distribution: Ubuntu 7.04
Posts: 127

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

date +%-d
if you don't want a leading zero.
Old 06-04-2006, 04:32 AM   #3
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.....


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 11:17 AM
2-way pipe saiz66 Programming 3 11-22-2004 08:54 AM
pipe using no pipe soathana Programming 2 02-22-2003 05:33 PM
lastlog date does not match system date? jcmj Linux - Networking 6 10-22-2002 01:09 PM
who with a pipe blown99GT Linux - General 5 07-16-2002 03:58 PM

All times are GMT -5. The time now is 08:25 PM.

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