Skip to navigation
Count how many files are in a folder with linux
12.11.19
ls -1 | wc -l
https://www.computerhope.com/issues/ch001326.htm
Reply
Anonymous
ls -1 | wc -l memo: ls = list -1 = just 1 (per line) | pipe to another program wc = wordcount -l = by line
12.11.19
Reply
Anonymous
Information Epoch 1732617576
Choose portability over efficiency.
Home
Notebook
Contact us