-1

I am trying to write a shell script that deletes a persistent but unnecessary folder in my home directory upon execution. So, I ask you fellow Ubuntu users, what is the terminal command to delete a file/folder?

Zanna
  • 70,465

1 Answers1

0

The Command rm

if you want to remove a directory you need to use rm with option -R

rm -R

check the option for rm

by typing rm --help

Mike
  • 21
  • 2