Without Using $date -dyesterday. How I get the yesterday's
date ?

Answers were Sorted based on User's Feedback



Without Using $date -dyesterday. How I get the yesterday's date ?..

Answer / snigdha

$date --date='yesterday'
$date --date='1 day ago'

Is This Answer Correct ?    14 Yes 3 No

Without Using $date -dyesterday. How I get the yesterday's date ?..

Answer / kumar

$date --date='1 day ago'

Is This Answer Correct ?    7 Yes 2 No

Without Using $date -dyesterday. How I get the yesterday's date ?..

Answer / madhu babu

date --date=yesterday +'%Y-%m-%d'

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

i installed clustering packages.When i try to run it getting LUCI error...what is it..??

0 Answers  


In how many ways linux can be installed n explain th steps involved in installation in any of the method..?

1 Answers   IBM,


what is the difference between semaphore, mutex & spinlock?????

1 Answers   Patni,


what is the difference between unix and linux...

7 Answers  


As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.

0 Answers   Ondot,






How find out drivers of installed devices in linux (RHEL)?

2 Answers  


What is the use of DNS Server? Name other servers works same as like DNS?

2 Answers  


how to install linux OS? pls send step by step

3 Answers  


Tell me the 5 differences between Linux and Unix?

4 Answers  


commands regarding the adding of users into groups n different options with useradd...?

5 Answers   IBM,


This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.

0 Answers  


What is the name and path of the main system log?

3 Answers  


Categories