How to Use Linux cat Command for File Viewing and Analysis? Quick Answer: Use cat filename.txt to display file contents,...
Bash
cat -n /var/log/nginx/error.log | grep -E "(404|500|503|502)"