To remove files, use the rm command. The rm command also prompts before deleting folders when the -i and -r arguments are used combined.
The final flag supplied takes effect if both -i and -f are specified. To do this, we enter the desired working directory's pathname after typing cd. A pathname is the path we take through the tree's branches to reach the desired directory. Absolute pathnames and relative pathnames are the two ways that pathnames can be given. Let's start by taking a look at absolute pathnames. Use the rm command along with the recursive option, -r, to delete a directory along with all of its contents, including any subdirectories and files.
Learn more about directory here-
https://brainly.com/question/7007432
#SPJ4