Date in linux
I'm using Redhat linux 3.0 Advance server, when use command "date". I can see the current date. Now I want to change system date and display the with format date "dd/mm"yyyy" . How can I do?
|
you want to use "date +%d/%m/%Y"
if you want to use that as default then set an alias for it. |
How can I set a lias for date?
|
SOmeone haslinux book, please give me. I need it
|
pls refer to "man date"
|
if your in bash, add to your ~/.bashrc
Code:
alias date="date +%d/%m/%Y" |
|
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 07:09 PM. |