Write a shell script to looking at the log file to see if
the test has passed or not

Answer Posted / guest

tail -f /var/log/messages provided all the messages are
appended to the log.

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different variables present in linux shell?

616


Why is it called a shell?

513


What does path stand for?

645


How will you emulate wc –l using awk?

919


Give some situations where typing error can destroy a program?

734






How will you find the 99th line of a file using only tail and head command?

2004


What is awk in shell script?

761


Which shell is the best?

585


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

558


What is eval in shell script?

655


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

760


What is scripting used for?

571


What is path variable bash?

575


What is the first line in every perl script called?

559


What are the advantages of shell script?

529