Durchsuchen nach
Schlagwort: Linux

How to determine the folder in a directory – size

How to determine the folder in a directory – size

It is a Python script for a Linux operating system: The results are (yes the folders haven the German language, because I live in Germany, and I’m German – sorry for that) Größen der Unterverzeichnisse in /home/sven/Musik 1980-1989: 6,8GMusikvideo: 12M1970-1979: 3,2Gsonstige_Musik: 6,7G1990-1999: 121MPodcast: 5,8G1960-1969: 2,7GWeihnachten: 921M2000-2009: 8,5G2010-2019: 1,7GHörbücher: 92MKlassik: 1,5GMusikalben: 3,5Gerster_Versuch: 136K1950-1959: 95M

Linux (Fedora 41) Bash Script to do a backup for MongoDB

Linux (Fedora 41) Bash Script to do a backup for MongoDB

What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use. MongoDB is open-source and has a wide range of deployment options, including cloud-based services like…

Weiterlesen Weiterlesen

MongoDB in Fedora Linux – how is the configuration of the server

MongoDB in Fedora Linux – how is the configuration of the server

Mongoshell The MongoShell is an interactive command window for the MongoDB database. You can use it for the CRUD operations. The MongoShell comes with the installation of MongoDB. After test, you type in the commands. What is CRUD? Create, Read, Update, Delete The command for the MongoShell mongosh It is possible that you see this message, but you can ignore it: and type the command: db.serverCmdLineOpts() The output is in the JSON (JavaScript Object Notation) Format. test> db.serverCmdLineOpts(){argv: [ ‚/usr/bin/mongod‘,…

Weiterlesen Weiterlesen