Guys! I need help with some comands! Probobly simple for you :)
I need to list some files:
With ordinary commands and combine them with pipes, so that you get following result: List all files, bigger than 1MB in a catalog (dont know witch to choose, something with not to many files). Dont list subfolders, and sort everything in a list. Help please! |
hi!
http://unix.stackexchange.com/questi...ze-recursively http://www.howtogeek.com/168135/list...size-on-linux/ I think the above links would be helpful.Edit your title stating your actual problem so that you could receive proper response! |
Quote:
With: find . -maxdepth 1 -type f -size +100M Thanks! Now i must count the uniqe lines in a file named address.txt containing: kalle kalle adam olla kalle The command should output 3 of course. Any command you can recommend? :) |
Is this homework? You should not be asking for answers to homework questions especially if you don't even tell us what you have tried yet. You may wantr to review the rules about homework again.
Quote:
|
Sorry!
I solved it myself :) got totaly stuck. Was only looking to learn, not for you to do it for me. |
Quote:
Mind you, I don't mind answering homework questions, as long as people at least have the decency to be upfront about it. <rant>I know, I know, starting to sound like a bitter old fart, but... this ”give me, give me, give me” attitude is driving me nuts. And, for the record, without the GNU/Linux community I would have gotten nowhere. But for all that is holy, unless you TRY, and try really HARD, you're never going to learn anything.</rant> HMW |
Dear op, could you be so kind as to share what you did. I don't know about others but majority of my technical posts, I tryto leave behind what I did to solve the issue. Many others do the same. This is important since we do not appreciate answering the same questions over and over. It also benefits others searching. In turn they will find an answer and in turn members can answer other technical issues.
|
Quote:
I dont understand why it matters if its homework, work or private? Its a problem I got to solve and I asked for help in a forum. Thanks any way. |
Quote:
Now im not sure if I dare to answer. Im pretty new in this game and did know it was "forbidden" to ask certian questions. I give you a hint. I used the command sort and uniq. Good luck! If I have done anything wrong or broken some rule or something, I ask a mod to close this thread. Thanks! |
Quote:
What is a degree or certification worth if it's not earned? Nothing... |
Quote:
I dont want anybody to do it FOR me. Im so new to linux, so I didnt know where to start :) Sometimes you need to ask somebody to get started. I always ask people about advice when I cant figure it out myself. I see your point too, but that wasnt my goal at all. I always do everything myself, probably more than others do. But sometimes I get stuck and need help. Sorry if I have offended someone here. Is it ok to ask qustions about work? or are you risking to be labeled as incompetent or something then? Not fit for the job? I rest my case, this was not a good idea. I have learned something new :) Thank god I didnt ask the teacher! He probobly would have expeld me for asking such stupid questions. |
Quote:
I don't know if you misunderstood me (and others) here on purpose. Like I wrote earlier, I have absolutely nothing against helping out with homework, provided that the OP (you in this case) shows that [sh]e has tried to solve the issue first. There was no attempt from you in your first posts. You did however show that you managed to solve the problems on your own. Awesome! In the future, perhaps if you provided something like: Quote:
http://catb.org/~esr/faqs/smart-questions.html Best regards, HMW |
He, he, sorry guys!
I see what you mean :) The thing is, that I have been so bloody ill for about 3 months. I never have been like this before. Yesterday I got panic, when realizing that nothing had been done! My brain have lost its ability to think logical!! Its comming back slowly... Thanks for your reply! I agree totaly. Could have asked in a differnt way :) See you around! |
Quote:
Best regards, HMW |
All times are GMT -5. The time now is 05:34 PM. |