Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Get Delete Directory in Linux

Status
Not open for further replies.

karthi0025

Junior Member level 2
Joined
Feb 23, 2010
Messages
22
Helped
2
Reputation
4
Reaction score
2
Trophy points
3
Location
chennai
Activity points
0
Hi frenzz,
rm -rf*
I was playing around with the command & was in the root directory hence deleted all my files. Is there any way of "restoring" them without having a backup?
 

i think there is no way to restore the files ............

better to use an alias for rm command as alias rm 'rm -i'
it asks y or n for deleting..............
this will also not help for rm -rf..............
it is very power full command in unix..............
 

not possible. rm = remove, -r = recursive (all subfolders), -f = force (don't ask y/n). be careful when using this
 

is this a personal machine or part of a company/university network? in the latter case you should have centralized backup available somewhere; in the first case if you have admin access try **broken link removed**
 

the only "restore" solutions are:
-- the backup (if you have it)
-- the linux distro boot disk to install from scratch
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top