Search Results

Search: Posts Made By: rocker_me2002
24,985
Posted By rocker_me2002
echo "Please select the file from the list" ...
echo "Please select the file from the list"

files=$(ls *.txt)
i=1

for j in $files
do
echo "$i.$j"
file[i]=$j
i=$(( i + 1 ))
done

echo "Enter number"
read input
echo "You select the...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy