Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
| Publish Date not found | ![]() 0 Views |
In this short tutorial, you will learn how to count number of files or directories in current directory in Linux.
————————————-
Count number of Files
————————————-
ls -l | grep ^- | wc -l
———————————————–
Count number of Directories
———————————————–
ls -l | grep ^d | wc -l
———————————————————————————————–
Just follow the step performed in this #short tutorial.
#linux #CountFiles #CountDirectories #learnletsearn #shorts
———————————————————————————————–
Official Website:
http://learnletsearn.in/
Follow us on Facebook:
https://www.facebook.com/learnletsearn/
Follow us on Instagram:
https://www.instagram.com/learnletsearn/
Please take the opportunity to connect and share this video with your friends and family if you find it useful.