How to Access Name Of File That Contain Space

For example, in your desktop, there is a folder that its name is “making html”. You can’t access that folder if you

root@computername:/home/computername/Desktop# cd making html

Yes, you can’t. It’s because the shell never read file which its name containing space. So, use “\” in each part of the word before you hit space. For example:

root@computername:/home/computername/Desktop# cd making\ html

It’s same if you want to copy, rename, delete, or move file, say “example” and you want to rename it to “making html”. Simply, type this

root@computername:/home/computername/Desktop# cp example making\ html

So that for today! I hope this useful for you who want study and use linux as your primary OS! Farewell!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s