Francisco
asked on
solars 10 bash : want to get date like 1/15/14 , i.e. m/dd/yy
hi
I am working on solars 10, and having query on simple bash command,
would like to get date like 1/15/14 , i.e. m/dd/yy , instead of mm/dd/yy
I can simply do like below, but I would like to remove 0 (zero) from month...
bash-3.2$ date "+%m/%d/%y"
01/15/14
bash-3.2$ date "+%D"
01/15/14
can somebody help me on simple scripting or command?
I am working on solars 10, and having query on simple bash command,
would like to get date like 1/15/14 , i.e. m/dd/yy , instead of mm/dd/yy
I can simply do like below, but I would like to remove 0 (zero) from month...
bash-3.2$ date "+%m/%d/%y"
01/15/14
bash-3.2$ date "+%D"
01/15/14
can somebody help me on simple scripting or command?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks a lot both for support and though let me take this solution this time!
date "+%-m/%d/%y"