Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 19, 2013, 01:04 PM   #1
esskay
macrumors 6502
 
Join Date: Jan 2008
How to type curly quote in Terminal as root?

I have a Time Machine sparsebundle with a curly quote in the filename

e.g. /Volumes/timemachine/esskay’s MacBook Pro.sparsebundle

I am trying to work on the file from Terminal. While logged in normally, I can type in the curly quote and access files with curly quotes (by double quoting the entire file path)

But when I log in as root (e.g. # sudo su - ), I can no longer enter the curly quote that is part of the filepath so am unable to access the file.

Can anybody please help me?! Thanks!

Incidentally, this is what I am trying to do:

http://www.garth.org/archives/2011,0...up-errors.html
esskay is offline   0 Reply With Quote
Old Jan 19, 2013, 03:05 PM   #2
chrfr
macrumors 68000
 
Join Date: Jul 2009
That's happening because you're changing from the default shell of bash to sh. Type
Code:
sudo -s
instead of
Code:
sudo su -
to stay in bash, and then everything will work as it normally does.
chrfr is offline   0 Reply With Quote
Old Jan 19, 2013, 09:05 PM   #3
esskay
Thread Starter
macrumors 6502
 
Join Date: Jan 2008
Awesome! Thanks so much!!
esskay is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:11 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC