LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2008, 10:44 AM   #1
rayudu1983
LQ Newbie
 
Registered: Jun 2008
Location: Hyderabad
Posts: 1

Rep: Reputation: 0
Difference between the rm and shred in linux


I am new to linx.Please provide me clear differnce.
"Difference between the shred and rm in linux"
 
Old 06-15-2008, 11:24 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Rm just calls unlink which "deletes the file" but doesn't actually do anything to the data on disk, it just frees the inode. Shred continually overwrites the file data and then optionally deletes it. Shreds purpose is to protect against somebody being able to recover your data.

Last edited by jtshaw; 06-15-2008 at 11:27 AM.
 
Old 06-15-2008, 11:28 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
For more info:

man shred
man rm
 
  


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
LXer: Shred XML Documents with DB2 on Linux LXer Syndicated Linux News 0 02-05-2008 05:10 AM
help with shred m.pass Linux - General 2 09-02-2006 01:03 AM
shred allows only one file Trio3b Linux - Security 5 12-08-2005 12:58 AM
Deleting Linux, All Partitions, Every Shred of Data! g-force Linux - Newbie 2 05-03-2004 10:04 PM
what is meant by shred? murshed Linux - Newbie 5 04-13-2003 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 PM.

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