Results 1 to 5 of 5

Thread: How Can We Permanently Delete Sensitive Files in Ubuntu Linux ?

  1. #1
    Join Date
    May 2008
    Posts
    171

    How Can We Permanently Delete Sensitive Files in Ubuntu Linux ?

    When you delete a file, the data are not destroyed your hard drive. They can easily be recovered with the right tools. To delete sensitive data you can use the Shred of Ubuntu that allows you to write random data several times on the files are deleted to make sure that they will never be restored. To use it easily, you can add to the menu that appears after right clicking on a file.

    1. Open a Terminal window by clicking on the Applications menu, click Accessories then click Terminal.


    2. Enter the command sudo apt-get install nautilus-actions. Press Enter. Enter your password and click OK.


    3. Once the package installed, close the Terminal window.

    4. Click the System menu, then click on System Preferences actions Nautilus.


    5. Click the Add button.


    6. Enter the Delete command in the final wording.


    7. Then gtk-dialog-warning icon in the field.


    8. In the Path field, enter the command shred.


    9. In the Settings field, enter the command-f-u-v-z% M.


    10. Open the tab Conditions.


    11. Select both and check the box Appears if selection contains multiple files or folders.


    12. Finally, click the OK button and then click Close.


    13. Open a Terminal window and enter the command nautilus-q. Confirm and enter the command to restart the nautilus file manager.


    14. Now when you click the right mouse button on a file or folder in the file browser, you can use the delete command from the menu that appears to remove it safely.

  2. #2
    Join Date
    Apr 2008
    Posts
    439

    Re: How Can We Permanently Delete Sensitive Files in Ubuntu Linux ?

    You may also be interested to know you can remove non-empty (or empty) folders with

    rm -r FOLDERNAME

    Careful, though, because it won't ask to confirm first. Don't accidentally erase your /home folder, for example. For confirmation use:


    rm -r -i FOLDERNAME

  3. #3
    Join Date
    Apr 2008
    Posts
    438

    Re: How Can We Permanently Delete Sensitive Files in Ubuntu Linux ?

    You can also use Shred Commands
    Shred is a shell command that allows you to securely erase any files. It overwrites the specified file(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data.

    Shred is included in many Linux distributions, thus you can use it immediately, without any further installation.

    To shred a file,
    shred -f -v -z -u file.txt

    where
    -f: change permissions to allow writing if necessary
    -v: verbose, to display the progress
    -z: add a final overwrite with zeros to hide shredding
    -u: truncate and remove file after overwriting

  4. #4
    Join Date
    Aug 2009
    Posts
    1

    Re: How Can We Permanently Delete Sensitive Files in Ubuntu Linux ?

    Quote Originally Posted by Conrad View Post
    When you delete a file, the data are not destroyed your hard drive. They can easily be recovered with the right tools. To delete sensitive data you can use the Shred of Ubuntu that allows you to write random data several times on the files are deleted to make sure that they will never be restored. To use it easily, you can add to the menu that appears after right clicking on a file.

    1. Open a Terminal window by clicking on the Applications menu, click Accessories then click Terminal.


    2. Enter the command sudo apt-get install nautilus-actions. Press Enter. Enter your password and click OK.


    3. Once the package installed, close the Terminal window.

    4. Click the System menu, then click on System Preferences actions Nautilus.


    5. Click the Add button.


    6. Enter the Delete command in the final wording.


    7. Then gtk-dialog-warning icon in the field.


    8. In the Path field, enter the command shred.


    9. In the Settings field, enter the command-f-u-v-z% M.


    10. Open the tab Conditions.


    11. Select both and check the box Appears if selection contains multiple files or folders.


    12. Finally, click the OK button and then click Close.


    13. Open a Terminal window and enter the command nautilus-q. Confirm and enter the command to restart the nautilus file manager.


    14. Now when you click the right mouse button on a file or folder in the file browser, you can use the delete command from the menu that appears to remove it safely.
    i got stuck with this bit - Enter the Delete command in the final wording.

  5. #5
    Join Date
    Apr 2008
    Posts
    392

    Re: How Can We Permanently Delete Sensitive Files in Ubuntu Linux ?

    To delete a file or folder perform the following steps:

    • Select the file or folder that you want to delete.
    • Choose Edit->Delete. Alternatively, right-click on the file or folder, then choose Delete


    also try this


    rm <filename> to remove files
    apt-get remove <package name> to uninstall packages

Similar Threads

  1. Replies: 6
    Last Post: 27-05-2011, 10:20 AM
  2. Moving Files between Ubuntu and Linux Mint 10
    By Karunashankar in forum Operating Systems
    Replies: 3
    Last Post: 08-01-2011, 12:59 PM
  3. Open .docx files in Ubuntu linux?
    By UbuntU-ME in forum Operating Systems
    Replies: 3
    Last Post: 27-10-2009, 02:59 PM
  4. Free Software to delete files permanently
    By ameer123 in forum Windows Software
    Replies: 3
    Last Post: 17-10-2008, 07:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,514,829.83865 seconds with 16 queries