Task

Delete a file called "input.txt" and delete a directory called "docs".

This should be done twice: once "here", i.e. in the current working directory and once in the filesystem root.




file delete input.txt /input.txt 
 
# preserve directory if non-empty
file delete docs /docs
 
# delete even if non-empty
file delete -force docs /docs