Delete all content in folder and not show any stderr/stdout

Hi i am a newbie, and have trying something that looked easy at first sight.

in this script i want to delete all the files and directories in subdirectory1 (but not delete subdirectory1) and dont show any stderr or stdout messages:

i try this but the stderr and stdout is shown...and it says that i am trying to delete /dev/null...please help:

rm -rf /directory1/subdirectory1/* /dev/null 2>&1

this is my file system...

directory1
|
|
| ------subdirectory1
| |
| |
| |----------subsubdirectory1
|

In this case, rm tries to delete /dev/null which may not be possible. Just a missing redirection.

rm -rf /dir1/subdir1/* >/dev/null 2>&1

thanks, it works :stuck_out_tongue: