Answer Posted / kirtiranjan sahoo
we can use DATE command to know the system date and time.
and want to any modify, then
date +%Y-%m-%d
Y: Year
m: No of month
d: date number
If you want to know the yesterday date, simply you can write the below command
date -d "yesterday"
or
date -d "-1day"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to write a function?
Is scripting and coding the same thing?
What is shell scripting used for?
What is wc in shell script?
What are the advantages of using shell scripts?
What language is bash?
What is bash eval?
what is tickets $ what low,medium,high priorite pls define time also
Give some situations where typing error can destroy a program?
How important is shell scripting?
What is the meaning of $1 in shell script?
What is awk script?
How to open a read-only file in the shell?
How do I open the shell in cmd?
What is the use of echo in shell script?