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

What is the difference between RedHat linux and Fedora and Ubuntu?

3 Answers   CSC,


what are acl permissions..? what is automation of jobs..?

5 Answers   IBM, TCS,


Friends, I don't have enough free space in root directory. but in home directory I have 40gb free. So I can not install anything in root directory (which occupies more space) Please suggest me If there is any possibility to increase the root directory size by minimising the home directory's.

3 Answers  


what is the gate of ftp server in redhat linux?

0 Answers  


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

3 Answers  






what is difference between inetd and xinetd

2 Answers  


How to trace any process background processing?

5 Answers  


in linux gui desktop icon was lost how con u back this icons

2 Answers  


How to Trouble shoot performance issue in RHEL administration ? please give to one example

0 Answers  


expalin the process of kickstart installation?

1 Answers   HCL, IBM,


what is kernel panic error ? how will you fix it if you have face it after rebooting without the the help of rescue disk ?

2 Answers   Oracle,


What text filter can you use to display a binary file in octal numbers?

1 Answers  


Categories