Linux Rotate Log Files
January 20th, 2024 7:28 PM Mr. Q Categories: Linux
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
January 20th, 2024 7:01 PM Mr. Q Categories: Rasberry PI
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 »