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 know I know, there's tons of Q/A out there on the ext3 filesystem. I have found these, yet none seem to be congruent with what's happened to me with the filesystem.
I have tons of duplicate files I want to sort through-so I wrote a BASH script to compute md5s and create a file for each md5-in the file is the node, full path, and sha1 for each file that produced that md5, like....
I first ran the script to place all files in one directory-once it got over 100,000 files it was way too slow so I stopped it.
Then I tried creating 6 levels of directories, one for each of the first 6 characters in the hash, and this ended up giving me an 'out of memory' error even though df -h showed that I had about 4 gigs left. I know 16^6 is a huge amount of directories, but I haven't found documentation anywhere placing a limit on the number of directories you can have in the filesystem (I'd really like to know how it works). All I've found is that a file can be up to 16GB in size and most sites say 'unlimited' for number of directories. Anybody know why I got this second error?
p.s. a friend suggested using a db to store this info, I'm looking into that, but are there any suggestions how to do it in BASH w/o a db? maybe a different filesystem?
thanks for sharing your knowledge,
I'm not definite-I was frustrated and deleted the whole directory quickly, I do remember it said some thing like 'out of memory'-looked akin to what I've gotten when df -h shows 100% usage on /, although like I stated df -h showed I had about 4 gigs left on /.