Archive: Bash Shell Script
Budget
78$
per month
Posted: 5 years ago
Closed
- Description
- A bash shell script ( fs_usage_warning) that sends email to users when a file system is above a certain disk usage percentage. The script would check against the Use% of the df command.
fs_usage_warning [-c capacity-percentage] email-address [email-address] ...
The script must accommodate one or more email addresses separated by a space.
The use of the mailx command is required as well as in-line redirection (here-document) to send the email. Temporary files are not allowed.
Skills:
Bash (Bourne shell) programming language
- Category