LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   showing date using pipe (https://www.linuxquestions.org/questions/linux-general-1/showing-date-using-pipe-451419/)

pintu_052 06-04-2006 02:50 AM

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.

meng 06-04-2006 02:56 AM

What's wrong with:
date +%d

or:
date +%-d
if you don't want a leading zero.

pintu_052 06-04-2006 03:32 AM

thanx a lot.... man but i was trying to do this using charmap... neway once again thanx.....


All times are GMT -5. The time now is 10:27 AM.