Below is my shell script
When I enterCode:#!/bin/bash # Report disc space usage script if [ $# -lt 1 ] then echo "You must pass at least one username to the $0 script." exit fi cd /home/$1 SPACE='du -s' echo "$1 is using $SPACE of drive space."
username is using du -s of drive space
I am running Ubuntu Server 10.10