Answer the question
In order to leave comments, you need to log in
Does anyone have interesting tasks (mainly admin tasks) for bash exercises?
Hello!
In connection with the change of work to a narrower focus, I began to forget my knowledge of bash, which was just average. And I want to expand it.
Actually, who can throw some interesting tasks that can be done at home on a regular virtual stand? Sorting data, parsing and something like that, searching for a package, its version, checking it with a repo, md-heels
Answer the question
In order to leave comments, you need to log in
1. Banal, the first thing that came to mind:
Write a script for backing up data to a remote machine (as a special case - a backup of a database with a previously unknown number of databases)
Write a script that runs by cron and counts the number of unique records from some log ( access.log auth.log ) and sends it to your email
Write a script that bans suspicious IPs
Write a script that checks that the files in the desired directory have not changed, it is possible with the output of changed files or even changed lines in the file.
2. A little cooler:
Think about which Linux operation you dislike the most and set it to automate
3. Even better:
Go to www.opennet.ru/docs/RUS/bash_scripting_guide, select any script and try to improve it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question