date and time in prompt

Archives
Bob

date and time in prompt

Postby Bob » Wed Feb 23, 2005 6:09 pm

My current unix prompt is "Hello $user :" i would like to know how to put the date and time in before the colon. Any ideas? Anyone?

anonymous

Re: date and time in prompt

Postby anonymous » Fri Feb 25, 2005 6:34 pm

PS1=`date +"%d %h %y"`:


Return to “Archives”

Who is online

Users browsing this forum: No registered users and 2 guests