Skip to content

avimehndi/internship-marketfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

#internship-marketfeed

This bash script continuously monitors the system's /var/log/auth.log file for entries containing the word "error".

How to use: Save the script as a file, for example, monitor_auth.sh. Make the script executable: chmod +x monitor_auth.sh Run the script: ./monitor_auth.sh The script will continuously monitor the log file and print any lines containing errors to the terminal.

Note: - This script requires grep to be installed on your system. One can install grep using the system's package manager. For example, on Ubuntu machines, one can install grep with the following command: ' apt install grep '

About

assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages