LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 05:06 PM   #1
a_priebe47
Member
 
Registered: Jul 2004
Location: British Columbia, Canada
Distribution: Slackware 10.2
Posts: 50

Rep: Reputation: 15
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.
 
Old 10-17-2004, 05:08 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,126

Rep: Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076Reputation: 6076
The command is rm
 
Old 10-17-2004, 05:15 PM   #3
a_priebe47
Member
 
Registered: Jul 2004
Location: British Columbia, Canada
Distribution: Slackware 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
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.

Last edited by a_priebe47; 10-17-2004 at 05:18 PM.
 
Old 10-17-2004, 05:20 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
rm -rf


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

Last edited by 320mb; 10-17-2004 at 05:22 PM.
 
Old 10-17-2004, 08:30 PM   #5
Oderus
Member
 
Registered: Sep 2004
Posts: 52

Rep: Reputation: 15
Personally I use rm -fdr as it includes directories.
 
Old 10-17-2004, 08:45 PM   #6
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
You could use a tool, mc is excellent for managing files and directories. The Insert button will select files.
 
Old 10-17-2004, 09:58 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting files in C monil Programming 4 03-13-2005 10:33 AM
How to keep people from deleting certain files? vincebs Linux - Newbie 9 04-12-2004 02:40 PM
deleting recent files Santas Linux - General 2 01-19-2004 06:26 AM
Deleting files ShakyJake Linux - Newbie 12 05-08-2003 03:07 PM
Deleting files Tingle Linux - Newbie 4 01-16-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration