is there anyone out there could help me in my system programming..
i have an assignment that sound like this..

if im saving a new file such as abc.txt and there is already a file with that name, a new file name will be created or transform into abc.txt001..

the main hint is by using mv command

ur help is highly appreciate..