check how many files in folder or total files in folder

Hi all,

I have copied all my files to one folder.and i want to check how many files (count) in the folder recently moved or total files in my folder?

please send me the query asap.

What have you done to attempt to solve this problem yourself?

Post your sample script, and we'll see how we can assist.

Regards

ls | wc -l

Hello!

Per forum rules, and the benefit of all users, please search the forums before posting a question.

You can easily search the forums using our internal Google search engine or our advanced internal search engine. You can also search our huge UNIX and Linux database by user generated tags or search the database for unanswered questions and provide an answer.

Thank you.

The UNIX and Linux Forums