Computing.Net > Forums > Solaris > rm command on /

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

rm command on /

Reply to Message Icon

Name: mongar
Date: December 4, 2007 at 14:01:21 Pacific
OS: solaris10
CPU/Ram: 1
Product: hp
Comment:

hi,
i have by mistake run rm command without -fr when i was on the root directory of the server meaning / .
it didnt delete the directories but all the files.
the server is still up and running but i cant login to it via ssh.
can someone tell me which files i need to get back?
thanks in advanced.



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: December 4, 2007 at 16:42:36 Pacific
Reply:

Caution – Caution –

Be careful when you use the rm command, and be particularly careful when you use rm with the wildcard character (*). You cannot recover files that you have removed with rm.

That is from the Sun site.

I doubt you would be able to rebuild that machine without a clone to copy from. Even then it might be doubtful.

Pretty sure you are looking at an easier solution. Rebuild it.

I read it wrong and answer it wrong too. So get off my case you peanut.


0

Response Number 2
Name: mongar
Date: December 8, 2007 at 14:38:31 Pacific
Reply:

thanks
i have rebuild the machine from scratch.


0

Response Number 3
Name: tvc
Date: December 23, 2008 at 10:12:28 Pacific
Reply:

Well yeah. The solution would be : take your backup, and restore the missing files, or re-install the OS ...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: rm command on /

ls command restriction on korh shel www.computing.net/answers/solaris/ls-command-restriction-on-korh-shel/4598.html

how to rm a file '-' www.computing.net/answers/solaris/how-to-rm-a-file-/3536.html

open boot command www.computing.net/answers/solaris/open-boot-command/816.html