Using ‘tail -f’ via Command-Line

View Specific Lines (via line numbers)

# tail -f /usr/local/bamboo/atlassian-bamboo-5.14.4.1/logs/catalina.out | grep -i -A 15 -B 2 "buildNumber"

Exclude Specific Key Words:

# tail -f /usr/local/bamboo/atlassian-bamboo-5.14.4.1/logs/catalina.out | grep -v -E '(AccessLogFilter)'

Leave a Reply