Please support our Shell Scripting advertiser: Programming Forums
Views: 2063 | Replies: 7
![]() |
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation:
Rep Power: 33
Solved Threads: 332
rm -rf i think?
that either does it, or deletes recursively. i cant remember. Google it. Be very careful if it is the latter
that either does it, or deletes recursively. i cant remember. Google it. Be very careful if it is the latter
Last edited by jbennet : May 25th, 2007 at 8:03 am.
TRY MY SUGGESTIONS AT YOUR OWN RISK
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
man rm -r is recursive (including the directories) -f force (don't ask) -i interactive (ask before deleting)
Chances are, somewhere in the profile, whether in your shell or in /etc/profile is an alias that changes rm to rm -i.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation:
Rep Power: 33
Solved Threads: 332
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode