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

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos