Related Topics
MongoDB Log Rotation Automation
When you are using mongodb for large applications (heavy write and read intensive), then you probable noticed that mongod.log/mongos.log file is growing big in size with in a few time span. I saw 20GB mongos.log file size in a single Continue readingMongoDB Log Rotation Automation→
1. Shell script comment variable and wildcard
As we probably all know, shell script is badly required, when you thought to automate something in your operating system. We are here using Born shell(sh) and bash in linux ubuntu. cat /etc/shells #it will give us following shells /bin/sh Continue reading1. Shell script comment variable and wildcard→
3. Shell comparison operator & reference
CommandDescriptionExample&Run the previous command in the backgroundls &&&Logical ANDif [ “$X” -ge “0” ] && [ “$X” -le “9”]||Logical ORif [ “$X” -lt “0” ] || [ “$X” -gt “9” ]^Start of linegrep “^X”$End of linegrep “X$”=String equality (cf. -eq)if Continue reading3. Shell comparison operator & reference→
MongoDB Collection-Level Access Control
MongoDB has RBAC (Role Based Access Control) enabled that we all know. Different teams having integration with their separate collection, we might have to create collection specific access control by defining userDefine Role. How to create user define role and Continue readingMongoDB Collection-Level Access Control→
2. Shell script loop & conditional statement
Like other programming languages, shell script also have same loop concept, let us look at different types of loop syntax how it will work in shell scripts. For loop #!/bin/sh for x in hi 1 * 2 A bye do Continue reading2. Shell script loop & conditional statement→

Suggestions