Remove pages/directories in ionic 4

rm -r pagename/directory
above command is not working anymore in ionic 4.
Any solution to delete root directory of pages using command.
thanks,
arslan

This is a unix command, not related with Ionic version