Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 find out drivers of installed devices in linux (RHEL)?

2 Answers  


what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?

3 Answers   Broadcom,


there are many IPC mechanisms available in Linux ? Which one is best to use and when ?

1 Answers   Broadcom,


someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?

1 Answers  


What is the difference between semaphore and spinlock?

1 Answers  


How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?

2 Answers   OnMobile,


How to convert an IP address to a Domain name using Unix ?

2 Answers   Verse Innovation,


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

5 Answers   IBM,


How to sort a file of size 2N bytes, if I have N bytes of memory?

2 Answers   Yahoo,


cups stands for..?

6 Answers   IBM,


User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?

5 Answers   Oracle,


Tell me command which is use for create quota database in Linux.

7 Answers   Wipro,


Categories