grep -oh /some/path/*
grep only show match
Leave a reply
grep -oh /some/path/*
vim /etc/systemd/timesyncd.conf
[Time]
FallbackNTP=ntp.ubuntu.com
systemctl daemon-reload
timedatectl set-ntp off
timedatectl set-ntp on
timedatectl status
SET GLOBAL sql_mode = '';
Problem too many open file
vim /lib/systemd/system/filebeat.service
[Service]
LimitNOFILE=infinity
systemctl daemon-reload
systemctl restart filebeat