Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kanemathers
on June 26, 2013
|
parent
|
context
|
favorite
| on:
Understanding the linux filesystem (/etc, /var, /b...
Just prefix the space with a backslash. Eg: ``$ ls /foo/bar/my\ directory/``. With that backslash in place, you can continue your tab-completion.
iSnow
on June 26, 2013
[–]
Still, on some international keyboards, backspace is hard to reach, eg. on a German Mac keyboard, is it <alt><shift>7.
So don't put spaces in path names, it's a bitch to work with.
emillon
on June 26, 2013
|
parent
[–]
You can quote the space:
mkdir x\ y cd x' 'y
(or the entire part: cd 'x y')
quackerhacker
on June 26, 2013
|
root
|
parent
[–]
Yup, that's what I do too, or %20 if its a url
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: