Last Assignment Example
dirName [code language=”shell”] #!/bin/bash if [ -z $1 ]; then dir="/home/mhesser01" else dir=$1 fi function listdir() { for i in `find $dir -type d` do if [ -d $i ]; then echo $i fi done } listdir [/code] Find Stuff [code language=”shell”] #!/bin/bash function setDir() { if [ -z $1 ]; then dir=/home/mhesser01 else dir=$1 […]