#!/bin/bash echo " Enter the name of your directory. You should enter the absolute path to the directory if it is not found in the current directory!" read location echo $location filecount=$( find $location –type f –name "*.txt" -size -4K) echo $filecount
#!/bin/bash
echo " Enter the name of your directory. You should enter the absolute path to the directory if it is not found in the current directory!"
read location
echo $location
filecount=$( find $location –type f –name "*.txt" -size -4K)
echo $filecount