simple cp command problem " i try to copy only "
By David Jones •
cp: 'test.txt' and 'test.txt' are the same file
asadzoot@asadzoot-Vostro-14-3468:~/cnc/q1$ cp test.txt home/asadzoot/cnc/q1/
cp: cannot create regular file 'home/asadzoot/cnc/q1/': No such file or directory 3 1 Answer
Your command seems off, this:
cp test.txt home/asadzoot/cnc/q1/should be:
cp test.txt /home/asadzoot/cnc/q1/But of course make sure your running this command from the location of the test.txt file.