for(( Z=10; Z>=0; Z-- )); do echo $Z done #or for Z in {10..0}; do echo $Z done