I have home folders under /export/home/*.
I need to have script that will check for disk usage of each folder, user1. Test to see if its over 2GB and if it is then mail the owner of the folder say email@example.com. This will have to be done recursively for all users in the directory /export/home.
There's an interesting discussion going on now in an Experts Exchange Group —
Attachments with no extension
. This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell.
Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…