You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
208 B

#!/bin/bash
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
GENERAL_LOG_FILE_PATH="${DIR}/log/mariadb/mariadb.log"
sudo truncate -s 0 $GENERAL_LOG_FILE_PATH
clear
sudo tail -f $GENERAL_LOG_FILE_PATH