#!/bin/bash numero=$1 #Asignamos el parametro recibido a la variable numero. if [ $numero -eq 1 ]; then echo "I" else if [ $numero -eq 2 ]; then echo "II" else if [ $numero -eq 3 ]; then echo "III" else if [ $numero -eq 4 ]; then echo "IV" else if [ $numero -eq 5 ]; then echo "V" else if [ $numero -eq 6 ]; then echo "VI" else if [ $numero -eq 7 ]; then echo "VII" else if [ $numero -eq 8 ]; then echo "VIII" else if [ $numero -eq 9 ]; then echo "IX" fi fi fi fi fi fi fi fi fi