How to rename a file name named “.” [closed]

2019-09-01 12:41发布

问题:

I have downloaded a large file about 2gigs from remote server but by mistake I gave it name . (dot).

How can I rename it using linux commands ?

回答1:

I don't think you really have named it .. Or at least, you cannot have done so successfully.

The name . is reserved for the current directory. So either it has been given another name implicitly, or it has been removed/discarded.

Try

find -size +1536M -ls

to find if there is any file with this size, and if so, verify if it can be the file you look for.