Category: article
Unix : Shell script that monitors the system’s CPU usage and free memory
Here we will discuss on a shell script that monitors the system’s CPU usage and free memory, and issues a…
Shell : Shell script that checks the status of a specific web page
Here we will explain a shell script that checks the status of a specific web page. It could be used…
Shell : Shell script that monitors the disk usage of a specified directory and sends an alert if the disk usage exceeds
Here we will discuss about a shell script that monitors the disk usage of a specified directory and sends an…
Unix : Shell script that backs up a specific directory to a destination directory
Example of a shell script that backs up a specific directory to a destination directory, creating a new backup directory…
Shell : Optimizes PNG images in a directory using optipng
Example of a shell script that scans a given directory, finds any PNG images, and optimizes them using a tool…
Shell : Bash shell script that will recursively traverse and replace the file or extension
Here’s a simple Bash shell script that will recursively traverse through the directory it’s run in and rename all .jpg…
Python : Generate Random 500 number between 101, 999 and exclude prime numbers from it
Here’s a Python code snippet that generates a list of 500 random numbers between 11 and 99: import random random_numbers…
PySpark : Understanding the PySpark next_day Function
Time series data often involves handling and manipulating dates. Apache Spark, through its PySpark interface, provides an arsenal of date-time…
Python : The Vital Role of Data Visualization and Top Python Libraries for Effective Visualization
Data visualization plays a pivotal role in the era of big data, enabling businesses to understand complex datasets and extract…
PySpark : Extracting the Month from a Date in PySpark
Working with dates Working with dates and time is a common task in data analysis. Apache Spark provides a variety…