how to count files in directory
2010-05-06 23:40
459 查看
http://techgurulive.com/2009/08/09/how-to-count-files-in-the-current-directory-in-linux/
reference as above
ls -l |wc -l
CAUTION, the link of current foler also as a file ,so as common sense,the result
you should minus one ,that's you want
reference as above
ls -l |wc -l
CAUTION, the link of current foler also as a file ,so as common sense,the result
you should minus one ,that's you want
相关文章推荐
- How to Delete [This is no longer located in Directory] Files
- How to install Active Directory in Server 2008 and Vista
- How To Get Log, Trace Files In OA Framework Pages And Concurrent Request Programs
- GSR :the meaning of <load sharing elements> <refernce><refcount> in CEF and how to calculate them
- How To View .chm Files In Ubuntu
- BW:How to load and generate a custom hierarchy in SAP Business Warehouse (SAP BW) without using flat files
- <U+FEFF> character showing up in files. How to remove them?
- <U+FEFF> character showing up in files. How to remove them?
- How to import a batch of files into vob in ClearCase
- nullnullhow to read directory name using std c in the linux
- How To Create a Child Domain in Active Directory and Delegate the DNS Namespace to the Child Domain
- How to effectively work with multiple files in Vim?
- given two directory trees how to find which files are the same?
- Spring MVC – How To Include JS Or CSS Files In A JSP Page
- How to Use Rsync to Sync New or Changed/Modified Files in Linux
- How to organize the Template Files in C++
- [转]How to Use xp_dirtree to List All Files in a Folder
- How to Hide Zip Files Inside a Picture Without any Extra Software in Windows
- Git: How to remove ignored files from your repository's directory
- Howto change all file and directory in a folder to 777?