write bash script in fedora Linux server

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

write bash script in fedora Linux server

Post by answerhappygod »

write bash script in fedora Linux server
Write Bash Script In Fedora Linux Server 1
Write Bash Script In Fedora Linux Server 1 (35.83 KiB) Viewed 60 times
Task 2: Linux Server System Administration Tasks (Process scheduling, backup and recovery using bash shell scriptingt) - 75% You are to write and run a bash shell script that will perform the following tasks: Takes a file as an argument and creates a backup of the file. (5%) Analyses the disk usage of the server; (10%) • ● o if the disk space is more than 90%; an email is sent to the administrator. Monitors high CPU usage. (5%) Creates a report of the above (disk and CPU usage); to be auto-generated on a particular day of each month. (5%) Batch add users with default passwords set. (10%) Batch remove users, including their default home directories. (10%) All the tasks above are incorporated in one bash shell script. (20%) When the the script is run, the system administrator is shown a menu to choose which task to perform. (10%)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply