+ 1
For in loop display file name in /bin
anyone know how to make a for loop in bash to read files in a bin directory
2 Answers
0
#something like this?
for each in /bin ;
do echo "$each"
done
0
that didnt work. I know fhe command is ls -l /bin just to do it regualr but I cant seem go figure it out doing a script