The wrong time in the cp command linux

The need to solve the problem, put a picture of a file on the desktop 1.jpg copied onto another desktop folder 2, the start command is

 

 Examination revealed, cp 1.jpg / root / Desktop / 2 command / root / Desktop / 2 wrong path, into the first cd 2 2 folder within the folder is located, and then pwd view the current path, the path is the result of home / Desktop / 2, modified for the normal execution path.

Guess you like

Origin www.cnblogs.com/zhaohongxiang/p/11702820.html