How to test RPI Camera?

Is there a way to test RPI camera to see if it works? There is a command in Raspbian to do this.

raspistill and raspivid can be used to takes pictures and videos with the RPi camera module. Or which test command on Raspberry Pi OS die you mean?