User:Akahk

From ICO wiki
Revision as of 15:08, 16 October 2011 by Akahk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
#!/bin/bash

FILE="$HOME/check_disk_$RANDOM"

check_file=$(echo "1" > $FILE)

if [ "$?" != "0" ]
then
    echo "Ketas T2is"
    find $HOME -size +50M
    rm -f $FILE
fi