#!/bin/shecho "plz enter the three numbers"read xread yread zif [ $x -ge $y ] && [ $x -ge $z ]thenecho "$x is the largest number"elif [ $y -ge $x ] && [ $y -ge $z ]thenecho "$y is the largest number"elseecho "$z is the largest number"fiif [ $x -lt $y ] && [ $x -lt $z ]thenecho "$x is the smallest number"elif [ $y -lt $x ] && [ $y -lt $z ]thenecho "$y is the smallest number"elseecho "$z is the smallest number"fi

##########################################################Output:$ sh num.sh plz enter the three numbers 10 20 30 30 is the largest number 10 is the smallest number