March 22, 2013

[HOW TO] Access files/folders with spaces - Linux

If you want to access a folder that has a name with a space for example the folder named New Folder do one of the following:
// If it's the only file/folder that starts with Ne

$ cd Ne*

// Or by using \ after each space

$ cd New\ Folder

// By using " "

$ cd "New Folder"

// By pressing Tab

$ cd (press tab)

No comments:

Post a Comment