Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can create and manage the file, either escaping the quote and the blank space or enclosing with double quotes - as suggested by pwc101. Can you paste and copy the commands you're issuing and the exact messages you get? Please, use the CODE tag to wrap the code, so preserving spaces.
Hmmm... can you copy other files from the same directory? I suspect a problem related to how the windows filesystem is mounted. Anyway, sometimes it can be useful to specify the path, as in
Code:
cp ./M\'ap\ 1.jpg /home/mark/test
to force the correct behavior of the shell. Another test can be
Chris, it worked great for me, too. But there must be something weird in the OP's issue, because the error message does not imply it cannot see the file, otherwise the error would be
Code:
cp: cannot stat `somefile': No such file or directory
and not
Code:
cp: cannot open `M\'ap 1.jpg' for reading: No such file or directory
inside the directory which contains the file? Please, when posting output or error messages go in Advanced Mode and wrap text around the CODE tag (select text and press the # button). This improves readibility and avoids misunderstanding with spaces, tabs and special characters. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.