NOT A PROGRAMMER, need some assistance...
NOT A PROGRAMMER, need some assistance...
(OP)
Hello, I am relatively new to Linux and especially to BASH scripting... need some assistance doing the following:
I need a script that utilizes journalctl to evaluate the kernel’s error and warning logs twice on a Debian system, at 30 sec intervals, uses diff to compare the two files, and outputs the results to a file located in /usr/share/cctc/. Also need to display the last 10 logs associated with the cronservice and the last 15 logs associated with my UID, and output all the results in one file located in /usr/share/cctc/in addition to displaying the results to screen.
ANY assistance you can offer would be appreciated!
I need a script that utilizes journalctl to evaluate the kernel’s error and warning logs twice on a Debian system, at 30 sec intervals, uses diff to compare the two files, and outputs the results to a file located in /usr/share/cctc/. Also need to display the last 10 logs associated with the cronservice and the last 15 logs associated with my UID, and output all the results in one file located in /usr/share/cctc/in addition to displaying the results to screen.
ANY assistance you can offer would be appreciated!
RE: NOT A PROGRAMMER, need some assistance...
Chris.
Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Never mind this jesus character, stars had to die for me to live.