Convert date time string to unix timestamp

convert date time string to unix timestamp in linux

Get date format style /var/log/messages
date '+%b %d %R:%S'

Convert date time string to unix timestamp
date -d 'Aug 21 15:29:40' +%s

Get current date time in unix timestamp
date +%s

Delete windows recovery partition

 Run in terminal as admin: Diskpart list disk select disk 0 list partition select partition X delete partition override

Mais vistos