Tuesday, November 18, 2008

Command com in Linux Shell

If you liked it and if you miss it...

while `/bin/true` ; do
read -p 'C:\> ' cmd
if [ "$cmd" != "" ]
then
echo Bad command or file name
# echo $cmd
echo
fi
done

No comments: