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.
I am not lazy. I finished more then half of the assignment myself. But some of the questions I cant find. The assignment contains 38 questions and all of them are research questions ( not thought in class). I just need some help with some of the questions. Its not about me being lazy. I am not trying to use anyone in a rude manner. I am sorry if I have u the wrong impression.
Last edited by incomingid; 10-25-2008 at 02:03 AM.
Well, how about some extra credit! Download the source packages for "findutils" and "coreutils". Generate the "Finding Files" and "Core Utils" pdf or dvi manuals and print them out. The coreutils manual has instructions on about 100 commands. Most of them are basic commands like cp and mv. Having it in a book format can help you learn these commands easier and remember them. You can resort to the printout while trying many of them out. Some of the commands like "comm" and "dd" are real gems. Some commands like "tsort" you will probably never use, but other like "tee".
The find command finds files based on criteria that you indicate. It is like a swiss-army-knife. You can find all of the suid programs on your system and see which ones you could uninstall. You can select by size, date, timestamp or name pattern, combining them, and even do something with the results. You can also print out the results in different ways, such as the name, inode, size, ownership.
Also look at the xargs command. Find and xargs are often used together to be able to handle very large result sets. If you have 30,000 files in a directory, wildcards may choke bash with too many arguments. find piped to xargs is a solution you will run into in the future.
I am not lazy. I finished more then half of the assignment myself. But some of the questions I cant find. The assignment contains 38 questions and all of them are research questions ( not thought in class). I just need some help with some of the questions. Its not about me being lazy. I am not trying to use anyone in a rude manner. I am sorry if I have u the wrong impression.
Then you should have formed your post a little better (How to Ask Questions the Smart Way). If you had formed it with the taste of the last then you may have gotten more assistance initially.
Good that you have finished at least part of the assignment. If you are having problems with specifics then these should be addressed to your prof/instructor/teacher first. That way he/she can see where the attention is actually necessary. I come from academia and knowing a students weakness or strengths was important so that we could form a means that would really work. Any teacher would not criticize a student that is duly trying to accomplish a task(s). Most would welcome the opportunity to teach that person.
The challenge that we presented was somewhat of a test too. You should see the number of homework type questions here on LQ. Most people will help someone who is attempting to help themselves.
I'm sure that your assignment has support documentation or instructions as to where to reference or where the instructor may example your assignment support. The questions you presented in the original post are general so the tasks do build on each other in a sense, 'jschiwal' has given you a good lead so I suggest that you use it.
I would add that 'Advanced Bash-Scripting Guide' is a good reference for you too look at and have as support documentation. Along with 'Linux Newbie Admin Guide', 'Linux Command Guide' and 'Learning the Shell' you should be able to understand a little better. Just remember the hardest thing is going to be is too breaking down your assignment to the simplest terms and to tackle those terms outwardly.
Isn't there an error in the first solution?
shouldn't that be -60? (Per the original Post)
When i use +60 it gives me a long long log.
When I use -60 it gives me a shorter long. So I'm guessing -60 is the right answer. Thank you for pointing that out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.