Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • I got there, and ls confirmed the file names to delete, I typed rm -f The Prestige.avi and nothing happens. I just get the cursor flashing after > Commented Apr 23, 2015 at 18:12
  • Use the ; and then enter to get out of that situation or use ctrl+d either Commented Apr 23, 2015 at 18:17
  • If there is a space between the file name in itself then use tab key to complete the name automatically while typing or use the \ as rm -f The\ prestige.avi Commented Apr 23, 2015 at 18:19
  • I then get cannot remove 'The Prestige.avi' : Permission denied Commented Apr 23, 2015 at 18:24
  • That is because you are not the owner of the file and does not have the permission to do so. You can try to change the permission of the file by using the command as a root user or a sudo user . To become a root user you can use the command 'sudo -s' and then 'chmod a+x filename' to change the permission of the file. Now use the rm command to delete the file Commented Apr 23, 2015 at 18:28