how-to-count-files-in-directory
#linux #tip
how to count files in directory
find DIR_NAME -type f | wc -l
์์ ๋๋ ํ ๋ฆฌ์ ํ์ผ ๊ฐฏ์๋ ํฌํจ
type -f
: ํ์ผ๋งwc
: count lines, words, or bytes on inputwc -l
: count just newlines
์ฐธ๊ณ
Last updated
Was this helpful?