unix - How to tail all the log files inside a folder and subfolders? -
in linux, using command tailf, how can tail several log files inside folder , in subfolders?
to log files inside folder, can go folder , write
tailf *.log to add subfolders tailf command, use
tailf **/*.log instead of tailf can use tail -f. of course, regular expression can improved match specific file names.
Comments
Post a Comment