User:Akahk

From ICO wiki
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