I have so many images more than 100 in a folder such as:
apple.jpg
grapes.jpg
orange.jpg
....
I want to rename all of them at once with ascending order numbers such as:
1.jpg
2.jpg
3.jpg
....
How can I do it using Ubuntu 10.04? Is there any terminal command to do it.