bash prompt – chirag patel

# Put a timestame in front of the prompt in the form:

# Oct24 12:28[user@host MY_PWD]$

PROMPT_COMMAND=echo -ne $(date +%-b%-e %-l:%M)

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *