Δημοσιεύτηκε: 29 Αύγ 2011, 10:36
από medigeek
Αποκλείεται. :P
Δώσε:
Κώδικας: Επιλογή όλων
ls -l .crypt_list_open
rm .crypt_list_open
touch .crypt_list_open
if [ -s .crypt_list_open ]; then
echo "This file has data"
elif [ ! -s .crypt_list_open ]; then
echo "This file does not have data"
fi
ls -l .crypt_list_open


Κώδικας: Επιλογή όλων
echo "test" > .crypt_list_open
if [ -s .crypt_list_open ]; then
echo "This file has data"
elif [ ! -s .crypt_list_open ]; then
echo "This file does not have data"
fi
ls -l .crypt_list_open