Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i'm having a hard time finding a way to delete the history of recently opened files, folders and documents for security reasons. till now, all i could find were these scripts that helped me in some ways, but i still haven't deleted my main problem above... these are the scripts i found:
this one is helped me delete more sensitive data from my drive: ->
The following script erases personal data such as cookies, cache, temporary, and history items in Suse 9.3. It isn't complete, but it does a nice job. It is also fairly simple and well commented to ease extension of the script.
# cleanup bash script written to remove private data in Suse 9.3 by anthro398.
# The next line sets the variable LOCAL_USER to the enviromental variable $USER. $USER will
# be expanded to the name of the user running the script. To run this script as root for a
# user you'll need to set LOCAL_USER to the username of the target user.
# The following assignment uses the rm, or remove command with the
# recursive and force flags. For more secure deletion install wipe
# from " " and change "rm -rf " to "wipe -frsd ". Please notice the space
# following the last flag. It is necessary for this script to execute properly.
REMOVE="rm -rf "
# The following block assigns files and folders to the $FILES
# variable to be removed. Add to or remove from this list following the
this other one helped me out a bit, but not much: ->
Script to remove sensitive information on your computer
I have created a script to remove sensitive information such as caches and trash using the wipe program to securely delete the files.
the program 'wipe' must be installed in order for this script to work
sudo apt-get install wipe
So far, the script only works with gnome and firefox caches. if anybody has any suggestions on other directories or files that should also be wiped, please comment in this thread and I will add it and post a final script in this thread.
Also, this script is geared for Ubuntu (K,X) so I don't know what it would do with other distros.
# Privacy cleaning script
# Requires program 'wipe' to be installed.
# Thumbnails and recently open files list
echo "Wiping Gnome thumbnails, recently used lists and Trash."
wipe -r -f .thumbnails
wipe -r -f .recently-used
wipe -r -f .recently-used.xbel
wipe -r -f .Trash/*
# External Trash such as on thumb drives
# uses a quick wipe so it doesn't flog flash drives as badly.
echo "Wiping Trash files on external drives."
wipe -r -f -q /media/*/.Trash*
echo "Wiping recently used documents in any version of Gimp."
wipe -r -f .gimp*/documents
echo "Wiping Mozilla history, cookies and cache."
wipe -r -f .mozilla/firefox/*.default/Cache
wipe -r -f .mozilla/firefox/*.default/history.dat
wipe -r -f .mozilla/firefox/*.default/formhistory.dat
wipe -r -f .mozilla/firefox/*.default/cookies.txt