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

How to Create NIS Server And NIS Client? Explain With Example?

1 Answers   Cisco,


How can i recover the linux system after it was crashed by step by step process..

3 Answers   IBM,


What are the main differences between RHEL4 & RHEL5?

11 Answers  


Through ssh whole directory structure from / is shared regardless the user we have connected with ....... how do i prevent sharing ??

4 Answers   Tech Mahindra,


what is the use of runlevel 4 in redhat linux? in which cases it will use.

1 Answers  






What are the differences between FTP , NFS , SAMBA servers explain separately.

0 Answers  


How is the difference between ftp and sftp ? and explain how to create ftp server and sftp server with example ?

2 Answers   Bank Of America, IBM,


When you install RedHat what is the kernel mode ? What is kernel compilation / upgrade ?

4 Answers   IBM,


tell me some of the Linux HotKeys do you know?

3 Answers  


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

3 Answers  


What are RPM?s, what do they offer?

2 Answers  


how do i check which package has installed some command suppose ls , mkdir or whatever ???

8 Answers  


Categories