This is really weird. I am trying to copy a file. I do
cp config.yaml config-test.yaml. However, I get
cp: ‘config.yaml’ and ‘config-test.yaml’ are the same file.
ls -l config*.yaml gives
May 30 16:01 config-train.yaml
Jun 1 14:09 config.yaml
config-test.yaml does not exist in the directory yet.
Never seen this before all this years using
cp. Can any one tell me what's going on?
when I do
ls -li config*.yaml I get:
398985520 -rw-r--r-- 1 y91 user 3088 May 30 16:01 config-train.yaml 398985526 -rw-r--r-- 1 y91 user 3091 Jun 1 14:09 config.yaml
Note, I can't see
config-test.yaml. However, when I do
ls -li config-test.yaml, I get:
398985526 -rw-r--r-- 1 y91 user 3091 Jun 1 14:09 config-test.yaml
Why couldn't I see
config-test.yaml when I simply did
ls -li config*.yaml? Why do I have to explicitly list it?