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.
I was installing Netbeans on my PC using ‘apt-get install’ while my flashdrive was mounted. This action resulted in my root, /, directory increasing to 100% of capacity (from about 20%) and my media directory increasing to 97% of capacity. I believed that I have narrowed the issues down to
1) media is at capacity
It appears that in a logical sense that the files in usb0 are duplicates of usb files, thus the 97% of capacity. However drilling into usb, there are no files; the files resides in usb0. There is a recycle bin there with what appears to be systems files, the names are long numerics. Is it safe to delete these files, I deleted a tracer log file and one other.
2) Root is at capacity
In the root directory there was a NetBeansProjects directory which appears to be a full installation of netbeans. I did not believe this directory belonged in the root directory and I deleted it. No change in the issue
3) Issuing:: xxxxxxx@yyyyyyy:~$ sudo gedit /etc/default/jetty
(gedit:7677): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.C6Q9JX': No such file or directory
(gedit:4166): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.MAEHKX': No such file or directory
I ran ‘apt-get clean’.
Also, issuing root@yyyyyyyyyyy:/# ‘du -sch *’ results in the notices below for the directories concerned and these directories are not found on my PC.
du: cannot access `proc/4511/task/4511/fd/4': No such file or directory
du: cannot access `proc/4511/task/4511/fdinfo/4': No such file or directory
du: cannot access `proc/4511/fd/4': No such file or directory
du: cannot access `proc/4511/fdinfo/4': No such file or directory
Is there some way these issues can be addressed.
Here is what I see:
root@yyyyyyy:/# ls -a
. dev lib mnt .pulse-cookie sbin tmp
.. etc lib64 opt .rnd selinux usr
bin home lost+found proc root srv var
boot initrd.img media .pulse run sys vmlinuz
You can also download gparted-live-cd & shrink /home from the left, move the rest of your partitions to the right, shrink, the extended partion from the left & grow the / partition to the right.
I usually make / atleast 2Gigs so that I can add a few things to /opt.
To get 2gigs for your system I calculate 1024*2=2048-323=1725M, this is what I would shrink /home by.