![]() |
Unix command quick question
what is the unix command to remove a directory that is not empty?
|
rm -rf you must be using a windows ftp program if you can not delete a dir that has files in it
|
ssh - rmdir
use -r (recursively) if you want to remove all directories in the folder. |
ok.. thanks for the answers..
another (last) quick one: how can i view from ssh what is the size of a folder? |
use du
if you want, in ssh type man du |
rm -r for freebsd
rm -rf for linux and to see size du -hd 1 /home/ |
Just remember that rm is very powerful and does not ask you for confirmation. You want to make absolutely sure that you use it at the right directory :1orglaugh
|
| All times are GMT -7. The time now is 03:36 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123