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→
Install Mtools in Ubuntu for MongoDB log analysis
According to mtools official github repo, its says that “mtools is a collection of helper scripts to parse, filter, and visualize MongoDB log files (mongod, mongos). mtools also includes mlaunch, a utility to quickly set up complex MongoDB test environments Continue readingInstall Mtools in Ubuntu for MongoDB log analysis→
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→
Run Shell script in Windows 10
Yes we can use Woindows 10 for execution of bash script. You need to change following things to make it enabled. Go to windows10 settings > Update & Security 1) Got to For Developers and choose Developer Mode2) In search Continue readingRun Shell script in Windows 10→
Suggestions