Three-point trace with mv

Where does the file go if you run the following command:

mv <file> ... 

Note that there is no directory named ... in the current directory.

+7
command-line linux
source share
1 answer

There cannot be a directory named ... in the current directory, but you are creating a file with that name. (Since it starts with . , It is hidden).

You can see such hidden files if you use the -a argument to ls :

 $ ls -a . .. $ touch file; mv file ...; ls -a . .. ... 
+9
source share

All Articles