Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NOT A PROGRAMMER, need some assistance...

Status
Not open for further replies.

ewornibor

MIS
Feb 23, 2016
23
0
0
US
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!
 
And what do you have so far?

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top