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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If Wim is right, you only have 4 GB, so not much room to put stuff, or use things like beagle.
However, you can use a usb stick to store your documents etc.
You can look in /var/log/* and delete logfiles which are rotated, NOT the original logfiles.
on my system:
Quote:
cannabis:/var/log# ls sys*
syslog syslog.1 syslog.2.gz
cannabis:/var/log#
You can delete sysog.1 and syslog.2.gz
They are created by logrotate from the original log syslog
Logrotate will rotate the logs every x days/weeks, it will create an empty lgfile, and backup the original, so the logfiles don't get to big.
If Wim is right, you only have 4 GB, so not much room to put stuff, or use things like beagle.
However, you can use a usb stick to store your documents etc.
You can look in /var/log/* and delete logfiles which are rotated, NOT the original logfiles.
on my system:
You can delete sysog.1 and syslog.2.gz
They are created by logrotate from the original log syslog
Logrotate will rotate the logs every x days/weeks, it will create an empty lgfile, and backup the original, so the logfiles don't get to big.
Should i go through my home/var/log or do it through the command terminal? because when i do it through home/var/log i see all the files but they all have an x on the top corner of them.
I wouldn't invest much time looking into gparted. Really, that box has no more space that gparted could repartition, it doesn't matter what partitioning tool you use. The only real solutions are either to use a smaller distro or to add storage capacity of any kind, or a combination of those both techniques. That's it, besides doing some cleaning.
Should i go through my home/var/log or do it through the command terminal? because when i do it through home/var/log i see all the files but they all have an x on the top corner of them.
The command line, you need to be root
Code:
cd /var/log
ls
Look what you can remove.
In general you have the original file, and a file with same name with a number
I wouldn't invest much time looking into gparted. Really, that box has no more space that gparted could repartition, it doesn't matter what partitioning tool you use. The only real solutions are either to use a smaller distro or to add storage capacity of any kind, or a combination of those both techniques. That's it, besides doing some cleaning.
what would i be cleaning? i mean i have nothing on here personally. When i went to look for my BIOS, i went under YaST Control center adn then to Hardware Information. I waited for it to probe and then i saw where all my disk space was being used up at. But i have NO idea what those files are and i dont want to delete something of importance.
repo is guiding you through the cleaning of the log files, so that's one thing.
Stuff under /tmp and /var/tmp can also be cleaned, though it should be automatically cleaned on each reboot on most systems, however, check just in case. Nothing in these locations is vital for the system, only temporal files live there. Besides that, there might be some location where suse stores packages that it downloads to install, however I haven't used suse for ages so you would have to ask about that to a suse user.
Deleting the stuff under /usr/src (if anything at all lives there) is also safe, as long as you don't plan to compile your own drivers or kernels. In any case, this can be easily replaced or restored if needed, so it's safe anyway.
For the rest, just be vigilant about the stuff in your home directory. You can also uninstall the programs that you don't use. Just don't uninstall things that you don't know what they are/do, if in doubt, just ask.
It's really a pity that the storage capacity is that limited, otherwise it's a great notebook which can perfectly do what you need it to do.
Perhaps one day you can try to get connected to the internet using the notebook.
Oh you mean i can copy and paste what this saids?! OH should i be doing this in the white screened gnome command line?! I am connected to the internet with the netbook!? GUH ya'll must hate me by now haha Ill do that instead!
im such a dork. could have been done much faster im sure!!
ok im online via my note book. but thats what i got when i entered the code in the terminal. i have a sandisk usb card and when i insert it in the port it doesnt let me save anything to it. it says it compatible to linux
linux-97kx:/var/log # rm xfree86.0.log
rm: cannot remove `xfree86.0.log': No such file or directory
linux-97kx:/var/log # rm -R xfree86.0.log
rm: cannot remove `xfree86.0.log': No such file or directory
linux-97kx:/var/log #
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.