LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Deleting files! (https://www.linuxquestions.org/questions/slackware-14/deleting-files-243906/)

a_priebe47 10-17-2004 05:06 PM

Deleting files!
 
<Begin name calling>
How do you delete files? I have a bunch I need to get rid of but I'll be damned if I know the command. I've tried rem, rmv, del, etc. Thanks for the help. :)

michaelk 10-17-2004 05:08 PM

The command is rm

a_priebe47 10-17-2004 05:15 PM

Thanks. Now say, I wanted to rm a dir that wasnt empty. Trying rmdir doesnt seem to work. I want to delete the entire folder and its contents.

320mb 10-17-2004 05:20 PM

rm -rf


don't do rm -rf /
as this will fubar your system!!
you have been warned.............

Oderus 10-17-2004 08:30 PM

Personally I use rm -fdr as it includes directories.

rotvogel 10-17-2004 08:45 PM

You could use a tool, mc is excellent for managing files and directories. The Insert button will select files. :)

gbonvehi 10-17-2004 09:58 PM

a_priebe47 if you've a doubt about using any command type: man commandname
that should display a help file ( ie: man rm )
Take a look at this link to see some file management utilities: http://www.slackware.com/book/index....rce=c2352.html


All times are GMT -5. The time now is 03:42 PM.