Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 14:44
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
srm or shred command SOLVED
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
titus


Joined: 31 Oct 2007
Posts: 55
Location: 52.3483 -3.1983

PostPosted: Sat 13 Oct 2012, 09:27    Post_subject:  srm or shred command SOLVED  

Hello again,
Still delighted with my Slacko but I don't seem to be able to securely remove files. With other distros I've used the "shred" command or "srm" neither of which is apparently available in Slacko. What do you use, anyone?

_________________
Hey! I may be old, but I'm slow.

Edited_time_total
Back to top
View user's profile Send_private_message 
SFR


Joined: 26 Oct 2011
Posts: 1081

PostPosted: Sat 13 Oct 2012, 10:55    Post_subject:  

I simply took "shred" binary from Lupu-528.

Also, I came up with this once:

Code:
SIZE=`du -b FILENAME | cut -f1`
dd if=/dev/urandom of=FILENAME bs=1 count=$SIZE

but I'm still not sure if this really overwrites exactly the same sectors of a file..?

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
titus


Joined: 31 Oct 2007
Posts: 55
Location: 52.3483 -3.1983

PostPosted: Sat 13 Oct 2012, 12:08    Post_subject:  

Thank you SFR,
That worked fine. I didn't have an ISO of Lupu but I found another distro, a Debian based one which provided the required bin.
Thanks again.

_________________
Hey! I may be old, but I'm slow.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0419s ][ Queries: 12 (0.0070s) ][ GZIP on ]