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.
I have been trying to finish this lab allday and cannot figure out the correct command. The problem is:
Copy every file from the hplip/data/images directory whose name starts with deskjet and whose model number ends in a C, into your newly created hplip_stuff/color_deskjets directory. Note, there are a different mix of lowercase and uppercase letters. Be sure to include them all.
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
I am a beginner and the only thing we were given in class was a few handouts which do not really help me at all. I tried all kinds of stuff. I tried cp hplip/data/images/deskjet* _*C hplip_stuff/color_deskjets/.
I know that is extremely wrong. I have no clue how to do it correctly.. Any hel will be appreciated.
I am a beginner and the only thing we were given in class was a few handouts which do not really help me at all. I tried all kinds of stuff. I tried cp hplip/data/images/deskjet* _*C hplip_stuff/color_deskjets/.
I know that is extremely wrong. I have no clue how to do it correctly.. Any hel will be appreciated.
Read the man page on the find command. Assume you're in the 'target' directory:
cp `find <insert find command options and names here>` ./
Note those are backticks, not single-quotes; that's another good thing for you to look up.
Also, we're always glad to help someone out, but posting blatant homework assignments is a good way to get NOTHING, especially posting it multiple times, without saying what you've done. And if the handouts/textbooks you were given don't cover the material, take that up with your instructor.
YAY! I think I did it! LOL, I know it wasn't my problem and it's no shot at the OP, just a linux newbie having fun with someone else's assignment...........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.