You often need to view the last 3 lines of a file. No class test commands are found in the VI, you can only turn to the end, sweat.
Now use tail -10 alert.log to complete the requirements of the last 10 lines of the Alert.log file, if you want to find ORA00600 Error error, you can implement this:
Tail -10 alert.log | grep ora00600
Once again, I witnessed the use of pipe symbols, huh, huh.
If you are looking at the head 10 lines, it is simpler.
HEAD -10 Alert.log