LinuxHow to Determine the Filesystem Type in Linux {Ext3, Ext4, XFS}By RahulDecember 27, 2022Determining the filesystem type in Linux can be useful in various scenarios, such as when you want to mount a…
Shell ScriptingShell Script to Monitor Disk Space and Send AlertBy RahulDecember 27, 2022It is essential to monitor the disk space on a Linux server to ensure enough free space is available for…
PythonHow to Append Data to File in PythonBy RahulDecember 27, 2022In Python, you can use the `open()` function to open a file in append mode, which allows you to add…
PythonHow to Write File in PythonBy RahulDecember 26, 2022Writing to a file in Python is a common operation that allows you to store data in a file for…
NetworkingHow to Check Open (Listening) Ports in LinuxBy RahulDecember 26, 2022In Linux, a port is a logical connection point for transmitting data between a client and a server. To ensure…
PythonHow to Define Global Variables in PythonBy RahulDecember 26, 2022In Python, a global variable is a variable that is defined outside of any function or class and can be…
PythonHow to Call a function in PythonBy RahulDecember 26, 2022In Python, a function is a block of code that performs a specific task and can be called from other…
Shell ScriptingBash: Append to FileBy RahulDecember 25, 2022To append to a file means to add new content to the end of an existing file, rather than overwriting…
PythonCurrent Date and Time in Python: In-Depth TutorialBy RahulDecember 25, 2022Getting the current date and time is a common task in Python programming. There are several ways to do this,…
PythonHow to Connect MongoDB Database in PythonBy RahulDecember 25, 2022MongoDB is a popular NoSQL database that is widely used for storing and manipulating large amounts of data. It is…