Enhancing Skills

Monthly Archives: January 2024

Linux Rotate Log Files

Rotating log files is a common task, and Linux systems often use log rotation tools such as logrotate for this purpose. Here’s a simple example: 1) Create a Configuration File for Logrotate: Create a configuration file, for example, /etc/logrotate.d/myapp Replace /path/to/your/log/file.log with the path to your log file. 2) Run […] Read more »

Raspberry Pi desktop – Set time format

To set the time format on the Raspberry Pi desktop, you can use the raspi-config tool or manually configure the time settings. Here are instructions for both methods: Using raspi-config: 1) Open a terminal on your Raspberry Pi. 2) Run the following command to open the raspi-config tool: 3) Navigate […] Read more »