Oops, I curropted the nano file in /usr/bin/.... Help?

Page 1 of 1 [ 2 posts ] 

Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 29
Gender: Male
Posts: 777
Location: In the zone

23 Jul 2012, 12:18 pm

Hey!
i was installing some .nanorc files and couldnt find the nano folder in /usr/shared/ so I went on a bit of a search and found /usr/bin/nano.... In a bit of a dase I thought this was a folder and not a file.... But it was a file and I moved several .nanorc files into that file and have curropted it. Anyone know where I can get another nano file for my /usr/bin folder?
I am running OSX snow Leo.
Thanks!


_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.


DC
Veteran
Veteran

User avatar

Joined: 15 Aug 2011
Age: 48
Gender: Male
Posts: 1,477

23 Jul 2012, 2:14 pm

Use dpkg -x to grab the file you want from the nano package

http://www.thegeekstuff.com/2010/04/vie ... -packages/