New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.6 - Deleted all Apps in terminal


Post Reply New Thread Subscribe

 
Thread Tools
davidcoad

 
Member Since: Mar 27, 2008
Posts: 39
davidcoad is on a distinguished road

davidcoad is offline
Hi

I was using the terminal and typed as part of a line

sudo rm -r /Applications

and hit enter BY MISTAKE before finishing!!!

it deleted all the apps

Is there a way to reverse this?

Dave
QUOTE Thanks
Adzy

 
Adzy's Avatar
 
Member Since: Jul 09, 2009
Location: West Midlands, UK.
Posts: 65
Adzy is on a distinguished road
Mac Specs: 13" MacBook (Early 2009)

Adzy is offline
Good god Please say you have a backup on Time Capsule or a Time Machine backup on an external HDD?!

Owned Apple Hardware: White 13.3" MacBook (Early 09, 2.0GHz C2D, 4GB RAM, 320GB HDD)
On The Web: Twitter | Personal Blog | Flickr
QUOTE Thanks
Kevriano

 
Kevriano's Avatar
 
Member Since: Jul 02, 2006
Location: Crawley, England
Posts: 4,561
Kevriano is a name known to allKevriano is a name known to allKevriano is a name known to allKevriano is a name known to allKevriano is a name known to allKevriano is a name known to allKevriano is a name known to all
Mac Specs: 20" Intel iMac 2.4 Ghz/3G Ram/320HD, Snow Leopard. PBook G4, 1.5Ghz/1.5 Ram/250 HD, Leopard 10.5.6.

Kevriano is offline
OOPS! Reinstall time!
Why were you messing in terminal?

Try my custom Mac Forums Search Engine: Mac Forums Google Search

Please use the reputation system if you consider any help given useful (it's the little ✓/✘ on the left <---)

QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
yeah just do an archieve and install although you might be able to get apps from the install dvds using Pacifist (i think; never used it) and install any other software you might be using

and dude, nice work with the terminal
QUOTE Thanks
toMACsh

 
toMACsh's Avatar
 
Member Since: Jul 30, 2009
Location: Wisconsin
Posts: 5,598
toMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to all
Mac Specs: Mac Mini Core 2 Duo

toMACsh is offline
I guess there's a reason they called it Terminal.
QUOTE Thanks
McBie

 
McBie's Avatar
 
Member Since: Apr 26, 2008
Location: Belgium
Posts: 2,541
McBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to behold
Mac Specs: 2013 MBA 13" - OS X 10.10.1

McBie is offline
Quote:
Originally Posted by toMACsh View Post
I guess there's a reason they called it Terminal.


A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
The problem is not the problem. The problem is your attitude towards the problem. You understand ?
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Such CLI fear

Seriously though, I work in that environment on a daily basis.. I've managed to do things like cd / then mv * /foo

without realizing it. Fortunately that was recoverable.. but i feel your pain. My best advice is to build commands in a text editor when they're potentially harmful things.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
I know it is a pain for some people (and I don`t use it) it might not be such a bad idea to either use the "i" switch or just make an alias, that way you will get asked and if you hit enter before you type the rest of your path you won't lose anything
QUOTE Thanks

Post Reply New Thread Subscribe


« Can not boot after update to 10.4.11 - 'NTLDR is missing' comes up. | G4 ATI drivers snafu »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Half of my apps won't load, how do I fix this problem? hotheadedjonny iPod Hardware and Accessories 1 07-07-2009 08:40 AM
Usefull Mac Apps krondor83 OS X - Apps and Games 19 06-02-2009 02:32 PM
Launching apps from terminal (like linux?) systix OS X - Operating System 2 02-20-2009 11:57 AM
Deleted Disk Utility and Terminal! TennsDog OS X - Operating System 2 01-11-2009 04:19 PM
How do you delete a Deleted User? Kryten OS X - Operating System 5 04-30-2007 03:05 PM

All times are GMT -4. The time now is 10:27 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?