DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
Date time in linux prompt
PS1="[u@h D{%Y%m%d-%H:%M:%S}]$ "
Source by access.redhat.com #
PREVIOUS
NEXT
Tagged:
#Date
#time
#linux
#prompt
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit