fixed quoting for date command
script to check lsof connections