fix tail command (sudo and missing -f)