User:Akahk: Difference between revisions

From ICO wiki
Jump to navigationJump to search
(Created page with '#!/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')
(No difference)

Revision as of 16:06, 16 October 2011

  1. !/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