Skip to main content

All Questions

Tagged with
1 vote
1 answer
3k views

conversion of date into seconds in unix

I have a requirement where I will be give the time in below format 2019-02-08T19:24:30.220Z by this I need to output number of days between the given date and present date. given date = 2019-02-...
Sugatur Deekshith S N's user avatar
4 votes
1 answer
28k views

Subtract 7 days from today's date

Here is my script. I need to subtract 7 days from today's date and use it in a file name. I am using a Mac. #/bin/bash DATE=$(date -d "-7 days") echo $DATE When I run this .sh script, I get this: $ /...
MacMama's user avatar
  • 143
3 votes
2 answers
2k views

Forensic analysis: find all files modified around a known one

An installer which isn't really clean (Adobe Acrobat Reader DC) installed on my Unix (Mac OS X) a lot of files in different places. I have a reference file Application which I am pretty sure was ...
athena's user avatar
  • 1,085