copy filename with space in Linux

This is for all kind of Linux distribution,Unix and software KNOPPIX server like Ubuntu, Redhat, Fedora, open SUSE, KNOPPIX etc.
ramverma
Posts: 435
Joined: Sat Aug 23, 2014 5:34 pm
Contact:

copy filename with space in Linux

Postby ramverma » Tue Sep 08, 2015 6:51 pm

how to copy filename with space in Linux?
[root@linsercer Test]# cp test ram.text test_ram.text


Guest

Re: copy filename with space in Linux

Postby Guest » Tue Sep 15, 2015 10:53 pm

use \ and give space/ it will work as escape in Linux.
if your file name is 'test ram.txt'.

[root@linsercer Test]# cp test\ ram.text test\ ram.text


Return to “Linux Forum”

Who is online

Users browsing this forum: No registered users and 1 guest