Yes, you can monitor multiple files using the tail command. You can specify multiple file names as arguments, and tail will display the last lines from each file. For example:
tail -f file1.log file2.log
In this command, -f enables real-time monitoring, so you will see new lines added to both file1.log and file2.log as they are written.
Additionally, you can use wildcards to monitor multiple files that match a pattern. For example:
tail -f /var/log/*.log
This command will monitor all .log files in the /var/log/ directory.
