So benennen Sie die Datei sequentiell in Ubuntu um

ls -v | cat -n | while read n f; do mv -n "$f" "$n.ext"; done 
Naughty Nightingale