Monthly Archives: March 2019

List open or listening ports

MacOS 1lsof -nP -i4TCP RedHat/Centos7 1netstat -tulpn

Posted in Bash, Operating System | Leave a comment

MongoDB Notes

When using MongoDB to store files, we have 2 collections: 1. The place where MongoDB store the file metadata: store.files 2. Ans place where MongoDB store the file content: store.chunks Depending on the size of the file, one entry in … Continue reading

Posted in Uncategorized | Leave a comment