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 68020
 
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

Similar Threads
thread Thread Starter Forum Replies Last Post
iPad: How to change the 4-digit lockscreen passcode as root in terminal? celibateromeo Jailbreaks and iOS Hacks 10 Apr 2, 2014 03:55 PM
Does anyone know the terminal command to check screen type on rMBP 13? swindlenz MacBook Pro 14 May 22, 2013 06:17 AM
THIS IS DANGEROUS, root access inside a Terminal. wisecracker MacBook Pro 9 Nov 1, 2012 05:59 PM
Run Terminal Command as root on Startup evilblob OS X 10.8 Mountain Lion 1 Aug 2, 2012 01:25 AM
Terminal - SSH as Root, No ANSI Colours Kilamite Mac Applications and Mac App Store 3 Jun 30, 2012 10:45 AM

Forum Jump

All times are GMT -5. The time now is 02:36 AM.

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

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