1 2 3 4 5 |
#!/bin/bash mes=`date +%m` ano=`date +%Y` ultimodia=`cal $MONTH $YEAR | grep -v '[A-Za-z]'|wc -w` echo "el ultimo dia del mes $mes es $ultimodia" |
1 2 3 4 5 |
#!/bin/bash mes=`date +%m` ano=`date +%Y` ultimodia=`cal $MONTH $YEAR | grep -v '[A-Za-z]'|wc -w` echo "el ultimo dia del mes $mes es $ultimodia" |