How Do I Move Files with Spaces in Linux?
Contents

How do I navigate to a folder with spaces in Linux?

the backslash followed by a space explicitly denotes a space. or after going to /opt , type cd Sub and then press Tab to autocomplete.

How do you handle file names with spaces in Linux?

1) Creating file names with spaces

If you want to view such a file with space in the file name, use the same principle of enclosing the file names inside the quotation marks.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest