|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Delete entire directory via SSH
Hi,
What Unix command must I enter to delete an entire non-empty directory in SSH? I was using "rm -r dirname", but it kept asking if I wanted to delete each file in there - is there a "yes to all" switch to use? Thanks |
|
#2
|
|||
|
|||
|
-f
be vewy vewy caweful type: Code:
man rm followed by: Code:
/-f<enter> that is "slash minus eff" and the enter button. -Steven |
|
#3
|
|||
|
|||
|
a stupid + often encountered case: your 'rm' is NOT
/bin/rm but an alias to 'rm -i' unalias it or enter the absolute path: {/usr}/bin/rm |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Delete entire directory via SSH |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|