Durchsuchen nach
Schlagwort: Linux

Linux Bash: abrt command and /var/spool/abrt

Linux Bash: abrt command and /var/spool/abrt

I have update script for my computer here. The last action in the script is to check the /var/ directory. du -sh /var/* | sort -rh | head -n 10 I saw that 4,0G    /var/lib 2,2G    /var/spool What is /var/spool /var/spool contains the printer jobs, crash reports and e-mails I check what is the content of the path /var/spool and I found the folder „abrt“ What is abrt? In the manual, page stands: abrt – Manage problems handled…

Weiterlesen Weiterlesen

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