jueves, enero 11, 2007
Mi primer script!!
Sacado de un libro de programación bajo Linux, pero ha sido emocionante:
echo Enter s to file sizes,
echo otherwise all the information is listed.
echo -n "Please enter option:"
read choice
if ["$choice" = s]
then
ls -s
else
ls -l
fi
echo Good-bye
echo Enter s to file sizes,
echo otherwise all the information is listed.
echo -n "Please enter option:"
read choice
if ["$choice" = s]
then
ls -s
else
ls -l
fi
echo Good-bye