Linux - NewbieThis 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!
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.
fernando@fernando-laptop:~$ apt-get clean
E: Could not open lock file /var/cache/apt/archives/lock - open (13 Permission denied)
E: Unable to lock the download directory
fernando@fernando-laptop:~$ sudo apt-get clean
[sudo] password for fernando:
my debian lenny on router takes around 400M on total 1.8G HDD(it's OLD) and most of this space is also taken by utils i don't use but don't remove(who knows when they may become useful?).
look at /usr directory. see if you don't need some programs, uninstall them with apt. or do it manually(not recommended).
upd: i also use ncdu for cleaning purposes(it shows a disk usage). it's actual name is "ncurses disk usage". i like that util.
Last edited by Web31337; 11-22-2009 at 10:17 AM.
You can look in /var/log for the backup logs created by logrotate
You can remove old kernels using synaptic
Don't delete files in /usr, unless you know what you are doing
As suggested by web31377 use ncdu to find large files and directories
Since you have no seperate /home partition, perhaps you can delete some stuff in your home directory,
or move them to /media/My Passport
In firefox you can delete the cache.
Take a look if your trashfolder is empty.
Do you use beagle or another software to search the drive?
They can create big files.
When I try to remove some log files (sudo rm), the systems says that the files do not exist, despite the fact that they are displayed on my screen.
make sure to use the correct name, and if needed the correct path. You can copy/paste in the terminal