Write a script that counts the number of files ending in .sh in the current directory.
Answers
Answered by
0
Answer:
script
that counts the number of files
Answered by
0
Answer:
To include hidden files (except . and ..) and avoid problems with newline characters, the canonical way is:
find . ! -name . -prune -print | grep -c /
Similar questions