-
Show or hide hidden files
AppleShowAllFiles YES
. Don't forget to refresh finder. Option+Finder Icon -
To remove the quarantine status of a new file on mac (as it causes problems with keys etc)
xattr -d com.apple.quarantine filename.pem FILE
-
to remove from all computers quarenteen files (warning as may be too large to attempt if you download a lot, and or recently)
find . | xargs xattr -d com.apple.quarantine
-
to clear att xattr:
xattr -c filename.pem
- To remove server entry from known_hosts rather than manually edit via vim or nano
ssh-keygen -R hostname
- List Network Connections and Application Association and Ports
lsof -i
netstat -atp tcp | grep -i "listen"