Linux commands for reading test logs
QuizEasy-MediumAsked in: GreyOrange
Which commands are matched correctly to the task? Choose all that apply.
- tail -f app.log: keep showing new lines as the application writes them
- grep -n "ERROR" app.log: show matching lines with their line numbers
- grep -c "ERROR" app.log: count the lines that contain ERROR
- chmod +x app.log: delete the log file
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.