Wednesday, April 14, 2010

Navigate Folders with Spaces Using Terminal

To navigate using a terminal; through folders containing spaces in a GNU/Linux environment,
1. escape the spaces
cd /documents/spaced\ folder/
folder name: spaced folder. It can be escaped as spaced\ folder
2. give the path in quotes
cd '/documents/spaced folder/'